[ 
http://jira.codehaus.org/browse/MGWT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof closed MGWT-118.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: nicolas de loof

Added a simple workaround :

{code:java}
if ( System.getProperty( "java.vendor" ).startsWith( "IBM" ) )
{
            getLog().info( "Build is using IBM JDK, localWorkers set to 1 as 
workaround to gwt#4031" );
            return 1;
}
{code}

> 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
>            Assignee: nicolas de loof
>             Fix For: 1.3
>
>         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


Reply via email to