Leon Wang wrote:
Hi Dear XWiki Developer,
I met a new problem, when I compile it using Eclipse
plugin, it gives me:
What Eclipse plugin? m2eclipse?
[INFO] [gwt:compile]
[INFO] using GWT jars from project dependencies : 1.7.0
[INFO] Unpack native libraries required to run GWT
[INFO] establishing classpath list (scope = compile)
[ERROR] Exception in thread "main"
java.lang.NoClassDefFoundError:
com/google/gwt/dev/Compiler
[ERROR] Caused by: java.lang.ClassNotFoundException:
com.google.gwt.dev.Compiler
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[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:252)
[ERROR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[ERROR] Could not find the main class: com.google.gwt.dev.Compiler. Program
will exit.
Looks like the gwt-maven-plugin doesn't have the gwt-dev jar in its
class path. Can you build from console?
Marius
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] XWiki Platform - Web - Parent POM ..................... SUCCESS
[1.331s]
[INFO] XWiki Platform - Web - GWT API ........................ SUCCESS
[13.635s]
[INFO] XWiki Platform - Web - GWT - DOM API .................. SUCCESS
[9.809s]
[INFO] XWiki Platform - Web - GWT - User ..................... SUCCESS
[8.379s]
[INFO] XWiki Platform - Web - WYSIWYG ........................ FAILED
[12.190s]
[INFO] XWiki Platform - Web - Standard ....................... NOT BUILT
[INFO]
------------------------------------------------------------------------
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.codehaus.mojo
Artifact-Id: gwt-maven-plugin
Version: 1.1
Mojo: compile
brought in via: POM
I do not know what to do now. Could you please give me some suggestions?
Thank you!
Jue Wang
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs