ClassCastException: test.RailIDResolver cannot be cast to com.sun.xml.bind.IDResolver after applying EAP 7.2 CP7
Issue
- ClassCastException: test.RailIDResolver cannot be cast to com.sun.xml.bind.IDResolver after applying EAP 7.2 CP7
java.lang.ClassCastException: test.RailIDResolver cannot be cast to com.sun.xml.bind.IDResolver
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.setProperty(UnmarshallerImpl.java:473)
at test.BackingBean.getUnmarshaller(BackingBean.java:93)
at test.BackingBean.unmarshaller(BackingBean.java:46)
- After applying patch JBoss 7.2 CP7, our application uses package JAXB from the JBoss libraries in stead of from our own war-file
Environment
Red Hat JBoss Enterprise Application Platform (EAP)
- 7.3 GA
- 7.2 CP7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.