NoSuchFieldError REFLECTION when deploying application in EAP 7
Issue
- When deploying the application WAR file, the JBoss EAP generates the below described ERROR:
2020-06-05 14:07:56:439 - ERROR - AbstractFaultChainInitiatorObserver: 114 - Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: REFLECTION
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
..More Several
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchFieldError: REFLECTION
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:93)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:450)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:298)
Environment
- JBoss Enterprise Application Platform
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.