This content has been marked as final.
Show 1 reply
-
1. Re: java.lang.ClassNotFoundException: org.hibernate.ejb.EntityManagerImpl
jewellgm Mar 26, 2018 5:04 PM (in response to buchholzs1)I don't have a lot of experience with maven, but my guess is that defining the "provided" dependency in maven only prevents the jar from being placed into the war's WEB-INF/lib directory. You may also need another mechanism to state that dependency in the war's MANIFEST.MF file.
Class Loading in AS7 - JBoss AS 7.0 - Project Documentation Editor
See the section titled "EAR Class Loading". Although the document references ear files a lot, there's an example for modifying the pom.xml for a war.