NoClassDefFoundError in JPAProvider.<clinit> #377
I use Querydsl 3.0 with OpenJPA (no Hibernate is on the classpath).
When I execute a query like this:
I get the following exception:
This is because com.mysema.query.jpa.HibernateHandler uses imports from org.hibernate,* that can't be resolved on my classpath.
Maybe, as an example solution, catch the NoClassDefFoundError in JPAProvider#addMapping(String className, JPQLTemplates templates)
With Querydsl 2.9 the problem does not occur.
The text was updated successfully, but these errors were encountered: