aspose file tools
The moose likes GWT and the fly likes java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Reply Bookmark "java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler" Watch "java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler" New topic
Author

java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler

Venu Krishna
Greenhorn

Joined: Sep 12, 2009
Posts: 1
Hi All,

I am new to GWT.
I am trying to compile an existing GWT project using 'myeclipse 9' ide,
by cliclking 'GWT Compile Project' button.
I am getting below error :

java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Exception in thread "main"


Please help.

Thanks,
Venu
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8441

Disclaimer: I use eclipse, not myeclipse
How are you creating the GWT project? One possible cause is missing gwt-user.jar and gwt-dev.jar on your project classpath

And welcome to the Ranch!


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
 
Similar Threads
SurefireExecutionException
java.lang.NoClassDefFoundError problem
Getting Exception while running a class file.
running java program out of workspace
help with marcus questions