Hi all,
I have a very similar problem. After upgrading to the 1.4.0 SDK, the
enhancer will no longer run.
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"
Unfortunately what akahige84 suggested did nothing to solve the
problem. I even upgraded my Eclipse (to 3.6), uninstalled the JRE and
reinstalled the latest, and created a new workspace a new project in
it. It's the same problem though. On a second machine, I did the same,
and it works fine. Therefore I think there must be something on my
machine that needs to be cleared... But I'm not sure what it is. It
doesn't seem to be Eclipse, or the SDK, or the eclipse plugin, or the
workspace, or the JRE.
Any ideas on how I can proceed? Are there any log files generated
about this error somewhere? Is there some other place (like maybe the
registry or some temp files) that should be "cleared"?
Thank you in advance.
On Dec 5, 11:09 am, akahige84 <[email protected]> wrote:
> I got the same problem and it just solved.
>
> I don't know if this would work for you but I'll tell you what i did.
>
> copy the "appengine-tools-api.jar" file under "..\eclipse\plugins
> \com.google.appengine...\appengine-java-sdk..\lib"
> and paste it under "..\workspace\..project name..\war\WEB-INF\lib"
>
> good luck
>
> On 12月1日, 午前2:34, chacmool <[email protected]> wrote:
>
> > I create a google app engine project with the eclipse plugin.
>
> > When I save any java class in my project I get the following error:
>
> > java.lang.NoClassDefFoundError:com/google/appengine/tools/enhancer/Enhance
> >Causedby:java.lang.ClassNotFoundException:
> >com.google.appengine.tools.enhancer.Enhance
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> > Exception in thread "main"
>
> > The developer server runs anyway but I can't store anything in the
> > 'DataBase'.
>
> > ¿Any solutions?
>
> > Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.