[
http://jira.codehaus.org/browse/MGWT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192032#action_192032
]
murray waters commented on MGWT-118:
------------------------------------
This can be worked around by removing "-localWorkers 2" from the command line
above, and consequently by adding <localWorkers>1</localWorkers> to the
configuration of gwt-maven-plugin in your pom.
I'm now going to try and see if I can reproduce this without maven, and perhaps
file a bug to GWT again if this is the case.
Also perhaps in order to consider this plugin fixed localWorkers should be 1 by
default or maybe you need to detect an IBM JVM and set localWorkers to 1 if
this is the case?
> 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