"java.lang.ClassNotFoundException: org.hibernate.validator.InvalidStateException" after migrating to JBoss EAP 7
Issue
Getting the below exception after migrating from JBoss EAP 5 to 7 :
Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class org.abc.bbv.mnc with ClassLoader ModuleClassLoader for Module \"deployment.hello-ear-1.4.0.ear.abc.jar:main\" from Service Module Loader
Caused by: java.lang.NoClassDefFoundError: org/hibernate/validator/InvalidStateException
Caused by: java.lang.ClassNotFoundException: org.hibernate.validator.InvalidStateException from [Module \"deployment.hello-ear-1.4.0.ear.abc.jar:main\" from Service Module Loader]"},
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.