java.lang.ClassNotFoundException: com.google.appengine.tools.enhancer.Enhance

963 views
Skip to first unread message

Pradyumna Singh

unread,
Feb 13, 2011, 1:43:52 AM2/13/11
to Google App Engine
Hi All,
As soon as I create a Google Web application project, it immediately
reports error: "Could not find the
main class: com.google.appengine.tools.enhancer.Enhance. Program will
exit".

In Console-
java.lang.NoClassDefFoundError: com/google/appengine/tools/enhancer/
Enhance
Caused by: java.lang.ClassNotFoundException:
com.google.appengine.tools.enhancer.Enhance
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main"

I've downloaded latest eclipse - 3.6 and installed GAE plugin 1.4.2

Also, GAE library is referenced in the project. See screenshot

http://imageupload.org/?di=1412975794035

I'm new to GAE, pls help.

Thanks

Pradyumna Singh

unread,
Feb 16, 2011, 7:51:46 PM2/16/11
to Google App Engine
Hi,

If anyone has faced this problem or have any idea how this can be
resolved, pls reply.

Thanks

Pradyumna Singh

unread,
Mar 8, 2011, 9:19:29 PM3/8/11
to Google App Engine
This issue was not resolved for me, I went back to using older
version...

Roman Shafigullin

unread,
Mar 29, 2012, 3:01:31 PM3/29/12
to google-a...@googlegroups.com
Hi tuco,

Open project properties in Eclipse / Java Build Path / Libraries / Select invalid libs and remove them

GL
Reply all
Reply to author
Forward
0 new messages