java-8 – Weblogic 12.2. 1 Java 8 Spring Data JPA Hibernate 5. X deployment conflict
I'm trying to use 5.0 with hibernate X and spring data JPA 1.9 Weblogic 12.2.4 1. Deploy ear file In Weblogic 12.1 The configuration deployed on 3 is the same JPA 2.1 is used for them
Weblogic is throwing a classnotfoundexception and looking for an optional querydsl library with spring data:
weblogic.management.DeploymentException: java.lang.ClassNotFoundException: com.mysema.query.types.path.PathBuilder
The spring data manifest even references this jar as optional Since Oracle has not released any source code, I cannot fully debug the problem An error will be thrown long before my ApplicationContext actually initializes any spring connection
The same configuration is in WebSphere 8.5 It is well deployed on the 5 Using Weblogic 12.2 There seems to be some kind of deployment conflict, but I can't find any other meaningful differences Has anyone come across something like this?
Solution
I managed to overcome this error by explicitly adding querydsl core and querydsl JPA to my POMs