ObjectDB ObjectDB

java.lang.NoClassDefFoundError: javax/persistence/criteria/AbstractQuery

#1

Updating from 2.7.1_02 to 2.7.2_02 I now get this error, did something change?

java.lang.NoClassDefFoundError: javax/persistence/criteria/AbstractQuery 

 

edit
delete
#2

Nothing was changed, this class is part of JPA.

Maybe you are using objectdb-jee.jar instead of objectdb.jar (or Maven without the separate JPA jar) outside an application server?

Please provide a full stack trace.

ObjectDB Support
edit
delete
#3

problem resolved when I went back to java 8, from java 9.

am using gradle, without the separate jar, ie: without:

javax.persistence:persistence-api:1.0.2

 

 

edit
delete

Reply

To post on this website please sign in.