I've been trying to build a sample app - the ConnectR app from the
book GAE Java AND GWT Application Development.  There are problems
with it running and I think JDO version-ing may being the issue.

I'm getting this error when Eclipse tries to run the Enhancer.

INFO: DataNucleus Enhancer : Using ClassEnhancer "ASM" for API "JDO"
Exception in thread "main" java.lang.NoSuchFieldError:
NUCLEUS_CONTEXT_LOADER
        at org.datanucleus.NucleusContext.<clinit>(NucleusContext.java:69)
        at
org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java:
168)
        at
org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:
1244)

I can see NUCLEUS_CONTEXT_LOADER defined in datanucleus-
core-3.0.0m5.jar. This JAR is included in the build path.  However, I
can see that the App Engine SDK has its own datanucleus-core-1.1.5.jar
and that doesn't seem to have the constant define.

Any thoughts on this?

I've tried to set the datanucleus' plugin to use the newer JAR.  The
datanucleus plugin preferences allow setting the classpath for the
build tools (Enhancer).  That didn't solve the problem (or I didn't do
it correctly).

Now I'll try to replace the appengines datanucleus-core with the newer
one.  Will this break anything in the appengine though?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to