[ 
http://jira.codehaus.org/browse/MGWT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=191799#action_191799
 ] 

murray waters edited comment on MGWT-118 at 9/21/09 11:02 PM:
--------------------------------------------------------------

output with -X turned on is attached. To find the problem do a search for 
"j2se". 

This was reproduced using the gwt1.6-maven2-starter-app from 
http://code.google.com/p/gwt-maven2-starter-app/wiki/QuickStartGWTOnePointSix 
and it also occurs in the project that I am working on for work. 

C:\temp\gwt1.6-maven2-starter-app-1.0\parent>mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-07 04:46:01+0930)
Java version: 1.6.0
Java home: C:\Progra~1\IBM\SDP\jdk\jre
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: "x86" Famil
y: "windows"

      was (Author: muzzamo):
    output with -X turned on
  
> 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


Reply via email to