[
http://jira.codehaus.org/browse/MGWT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192030#action_192030
]
murray waters commented on MGWT-118:
------------------------------------
Can be reproduced by running the following from the command line, where
USERNAME is your windows login
C:\Progra~1\IBM\SDP\jdk\jre\bin\java -Xmx512m -classpath
"C:\temp\gwt1.6-maven2-starter-app-1.0\web\war\WEB-INF\classes";"C:\temp\gwt1.6-maven2-starter-app-1.0\web\src\main\java";"C:\temp\gwt1.6-maven2-starter-app-1.0\server\target\server-1.0-SNAPSHOT.jar";"C:\Docume~1\USERNAME\.m2\repository\com\thoughtworks\xstream\xstream\1.3\xstream-1.3.jar";"C:\Docume~1\USERNAME\.m2\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar";"C:\Docume~1\USERNAME\.m2\repository\log4j\log4j\1.2.15\log4j-1.2.15.jar";"C:\Docume~1\USERNAME\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar";"C:\Docume~1\USERNAME\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar";"C:\Docume~1\USERNAME\.m2\repository\javax\jms\jms\1.1\jms-1.1.jar";"C:\Docume~1\USERNAME\.m2\repository\com\sun\jdmk\jmxtools\1.2.1\jmxtools-1.2.1.jar";"C:\Docume~1\USERNAME\.m2\repository\com\sun\jmx\jmxri\1.2.1\jmxri-1.2.1.jar";"C:\Docume~1\USERNAME\.m2\repository\com\google\gwt\gwt-user\1.6.4\gwt-user-1.6.4.jar";"C:\Docume~1\USERNAME\.m2\repository\com\google\gwt\gwt-incubator\march-02-2009\gwt-incubator-march-02-2009.jar";"C:\Docume~1\USERNAME\.m2\repository\com\google\gwt\gwt-dev\1.6.4\gwt-dev-1.6.4-windows.jar"
com.google.gwt.dev.Compiler -gen
"C:\temp\gwt1.6-maven2-starter-app-1.0\web\target\.generated" -logLevel INFO
-style OBF -war
"C:\temp\gwt1.6-maven2-starter-app-1.0\web\target\web-1.0-SNAPSHOT"
-localWorkers 2 com.company.Application
> GWT Compile fails with IBM JDK
> ------------------------------
>
> Key: MGWT-118
> URL: http://jira.codehaus.org/browse/MGWT-118
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: murray waters
> Attachments: out.txt
>
>
> Originally reported as a possible GWT bug
> (http://code.google.com/p/google-web-toolkit/issues/detail?id=4031), but does
> not occur when running the webAppCreator tool from command-line to generate a
> simple example application and compiling it with 'ant build' from
> command-line.
> "_j2se_j9=71168" does not sound like a classname at all so it seems that
> gwt-maven is scooping that string up from elsewhere and trying to use it as a
> classpath resource.
> [INFO] [gwt:compile {execution: default}]
> [INFO] using GWT jars from project dependencies : 1.7.0
> [WARNING] You should not declare gwt-dev as a project dependency. This may
> introduce complex dependency conflicts
> [WARNING] You should not declare gwt-dev as a project dependency. This may
> introduce complex dependency conflicts
> [INFO] Unpack native libraries required to run GWT
> [INFO] establishing classpath list (scope = compile)
> [INFO] Compiling module au.com.stgeorge.FooProjectAdmin
> [INFO] Compiling 6 permutations
> [INFO] Process output
> [INFO] [ERROR] Exception in thread "main"
> java.lang.NoClassDefFoundError: _j2se_j9=71168
> [INFO] [ERRR] Caused by: java.lang.ClassNotFoundException:
> _j2se_j9=71168
> [INFO] [ERROR] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:419)
> [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> [INFO] [ERROR] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:320)
> [INFO] [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
> [INFO] Permutation compile succeeded
> [INFO] Linking into
> C:\projects\FooProject\workspace\FooProjectAdminWeb\target\FooProjectAdminWeb
> [INFO] Link succeeded
> [INFO] Compilation succeeded -- 86.844s
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email