Sorry, ignore this.
I had replaced objectify 3 with objectify 4 in eclipse, but not in the WAR folder. So it was building against objectify 4, but then linking against objectify 3 when actually running.
Feels a bit like a bug in the G plugin - it manages the rest of the libs in the WAR folder, after all.
On Friday, August 3, 2012 12:01:33 AM UTC+2, RyanZA wrote:
I'm using Objectify v4 (4.0.a4) and I'm still getting this issue when unticking datanucleus.
java.lang.NoClassDefFoundError: javax/persistence/Transient
at com.googlecode.objectify.impl.TypeUtils.isSaveable(TypeUtils.java:126)
at com.googlecode.objectify.impl.ConcreteEntityMetadata.processKeyFields(ConcreteEntityMetadata.java:116)
at com.googlecode.objectify.impl.ConcreteEntityMetadata.<init>(ConcreteEntityMetadata.java:69)
at com.googlecode.objectify.impl.Registrar.register(Registrar.java:69)
at com.googlecode.objectify.ObjectifyFactory.register(ObjectifyFactory.java:209)
at com.googlecode.objectify.ObjectifyService.register(ObjectifyService.java:38)
...
I checked and I don't have @Transient in my code anywhere...