Why JBoss EAP is throwing IncompatibleClassChangeError?
Issue
- Previously project was getting deployed successfully against the old JBoss EAP, but when trying to deploy to different version of JBoss EAP then getting the
IncompatibleClassChangeError. For example:
...
java.lang.IncompatibleClassChangeError: Class org.jboss.as.jmx.PluggableMBeanServerImpl does not implement the requested interface javax.management.MBeanServerConnection
Caused by: java.lang.IncompatibleClassChangeError: Class org.jboss.as.jmx.PluggableMBeanServerImpl does not implement the requested interface javax.management.MBeanServerConnection
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407) [jboss-jmx.jar:4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)]
at org.jboss.mx.util.MBeanProxyExt.<init>(MBeanProxyExt.java:99) [jboss-jmx.jar:4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)]
...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 5.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.