"java.lang.IncompatibleClassChangeError: Failed to link org/hibernate/ejb/HibernatePersistence" in JBoss EAP
Issue
Encountering the exception below when deploying an application (originally based on an older Hibernate release) in JBoss EAP 7.2.
... java.lang.IncompatibleClassChangeError: Failed to link org/hibernate/ejb/HibernatePersistence (Module "deployment.mytest.war" from Service Module Loader): class org.hibernate.ejb.HibernatePersistence has interface org.hibernate.ejb.AvailableSettings as super class
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.2
- Hibernate 5.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.