I have application which uses Hibernate in version 5.2.10. All dependencies are bundled in EAR archive in lib catalog. Application has to be deployed on Weblogic Server installed with BPM Suit (version 12.2.1.2). During deployment I get stacktrace like in
https://community.oracle.com/thread/3950781. I tried solution in comment but it didn't work. I tried some other solutions like add in weblogic-appication.xml <prefer-application-packages> (to use all dependencies from lib directory only), add <prefer-web-inf-classes> in weblogic.xml, change lib catalog on WEB-INF/lib, APP-INF/lib, but still during deployment I got mentioned above stacktrace. I tried to find what is actually com.frevvo.hibernate.FrevvoDialectResolver but I got nothing.
But after some research I found that main cause of problem is in frevvo application, deployed by default in Weblogic. This app has Hibernate library in 3.3.9 version. After manual remove it from server and restart finally i could deploy my EAR app on the server without errors. Unfortunately this solutin can't be acceptable - we can't remove this app from production environment. Is there any solution to deploy another application with bundled Hibernate without any conflict with fervvo application?
Above description I send to Oracle Support, but they didn't help (they respond that this is Hibernate issue). Did anyone have this obstacle and found some solution on this.