[ 
https://jira.codehaus.org/browse/MGWT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292399#comment-292399
 ] 

jieryn commented on MGWT-323:
-----------------------------

{code} $ mvn clean gwt:i18n
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building GWT Maven Archetype 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gwt ---
[INFO] Deleting /home/jlf/tmp/gwt/gwt/target
[INFO] 
[INFO] --- gwt-maven-plugin:2.4.0:i18n (default-cli) @ gwt ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.395s
[INFO] Finished at: Wed Feb 22 00:01:53 EST 2012
[INFO] Final Memory: 6M/238M
[INFO] ------------------------------------------------------------------------
{code}


{code} $ mvn clean gwt:run 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building GWT Maven Archetype 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gwt ---
[INFO] Deleting /home/jlf/tmp/gwt/gwt/target
[INFO] 
[INFO] >>> gwt-maven-plugin:2.4.0:run (default-cli) @ gwt >>>
[INFO] 
[INFO] --- gwt-maven-plugin:2.4.0:i18n (default) @ gwt ---
[INFO] 
[INFO] --- gwt-maven-plugin:2.4.0:generateAsync (default) @ gwt ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ gwt ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gwt ---
[INFO] Compiling 6 source files to 
/home/jlf/tmp/gwt/gwt/target/gwt-1.0-SNAPSHOT/WEB-INF/classes
[INFO] 
[INFO] --- maven-war-plugin:2.1.1:exploded (default) @ gwt ---
[INFO] Exploding webapp
[INFO] Assembling webapp [gwt] in 
[/home/jlf/tmp/gwt/gwt/target/gwt-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/jlf/tmp/gwt/gwt/src/main/webapp]
[INFO] Webapp assembled in [82 msecs]
[INFO] 
[INFO] <<< gwt-maven-plugin:2.4.0:run (default-cli) @ gwt <<<
[INFO] 
[INFO] --- gwt-maven-plugin:2.4.0:run (default-cli) @ gwt ---
[INFO] create exploded Jetty webapp in 
/home/jlf/tmp/gwt/gwt/target/gwt-1.0-SNAPSHOT
[INFO] auto discovered modules [com.acme.Application]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.741s
[INFO] Finished at: Wed Feb 22 00:02:43 EST 2012
[INFO] Final Memory: 12M/238M
[INFO] ------------------------------------------------------------------------
{code}
                
> gwt:run does not work on fresh project: java.lang.NoClassDefFoundError: 
> com/google/gwt/i18n/tools/I18NSync
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MGWT-323
>                 URL: https://jira.codehaus.org/browse/MGWT-323
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>         Environment: Windows, tried both cygwin and cmd, maven 2 and maven 3
>            Reporter: Jonas Basanavicius
>
> Hello
> After creating a fresh project 
> {code}
> mvn archetype:generate -DarchetypeRepository=repo1.maven.org 
> -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin 
> -DarchetypeVersion=2.4.0
> {code}
> and running {code} mvn gwt:run {code}
> The error below is returned
> {code}
> [ERROR] java.lang.NoClassDefFoundError: com/google/gwt/i18n/tools/I18NSync
> [ERROR] Caused by: java.lang.ClassNotFoundException: 
> com.google.gwt.i18n.tools.I18NSync
> [ERROR]         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> [ERROR]         at java.security.AccessController.doPrivileged(Native Method)
> [ERROR]         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> [ERROR]         at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> [ERROR]         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> [ERROR] Could not find the main class: com.google.gwt.i18n.tools.I18NSync.  
> Program will exit.
> [ERROR] Exception in thread "main"
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> {code}
> Please let me know if you need additional information.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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