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 

 

#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
ObjectDB - Fast Object Database for Java (JPA/JDO)
#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

 

 


Post Reply

To post a reply and/or subscribe to update notifications - please login