Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.4.0
-
Fix Version/s: None
-
Labels:None
-
Environment:Windows, tried both cygwin and cmd, maven 2 and maven 3
Description
Hello
After creating a fresh project
mvn archetype:generate -DarchetypeRepository=repo1.maven.org -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.4.0
and running
mvn gwt:run
The error below is returned
[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] ------------------------------------------------------------------------
Please let me know if you need additional information.
I tried to reproduce this problem just now, I am not seeing the problem. I even deliberately forced clean gwt:i18n goals and it worked fine. I was able to gwt:run and send my name.