This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes GWT and the fly likes java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler" Watch "java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler" New topic

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

Venu Krishna

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:
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
Exception in thread "main"

Please help.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10771

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!

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler
It's not a secret anymore!