java.lang.NoClassDefFoundError: org.apache.xerces.dom.ElementImpl

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ClassNotFoundException: org.apache.xerces.dom.ElementImpl
at java.lang.ClassNotFoundException.(ClassNotFoundException.java:76)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:425)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationStub.createElementContentChoiceMap(SerializationStub.java:556)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.fcg.FCGSerializationStubGenerator.generateElementContentChoiceMap(FCGSerializationStubGenerator.java:580)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.fcg.FCGSerializationStubGenerator.generateInitializeElementChoiceFields(FCGSerializationStubGenerator.java:462)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.fcg.FCGSerializationStubGenerator.generateInitializeMethod(FCGSerializationStubGenerator.java:331)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.fcg.FCGSerializationStubGenerator.generate(FCGSerializationStubGenerator.java:135)
at com.ibm.xml.xlxp2.jaxb.codegen.AbstractGeneratedStubFactory.generateByteCode(AbstractGeneratedStubFactory.java:100)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.fcg.FCGStubFactory.generateStubByteCode(FCGStubFactory.java:44)
at com.ibm.xml.xlxp2.jaxb.codegen.AbstractGeneratedStubFactory.getStubClassConstructor0(AbstractGeneratedStubFactory.java:159)
at com.ibm.xml.xlxp2.jaxb.codegen.AbstractGeneratedStubFactory.getStubClassConstructor(AbstractGeneratedStubFactory.java:114)
at com.ibm.xml.xlxp2.jaxb.marshal.codegen.AbstractGeneratedSerializationStubFactory.createStub(AbstractGeneratedSerializationStubFactory.java:56)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationContext.getSerializationStub(SerializationContext.java:161)
at com.ibm.xml.xlxp2.jaxb.marshal.impl.SerializationContext.getSerializationStub(SerializationContext.java:169)
at com.ibm.tscc.rtss.storage.ws.PolicyDocument_JAXB_Serialization_Stub.write(com.ibm.tscc.rtss.storage.ws.PolicyDocument_JAXB_Serialization_Stub.java)
at com.ibm.tscc.rtss.storage.ws.Policy_JAXB_Serialization_Stub.write(com.ibm.tscc.rtss.storage.ws.Policy_JAXB_Serialization_Stub.java)
at com.ibm.tscc.rtss.storage.ws.GetPolicyResponse_JAXB_Serialization_Stub.write(com.ibm.tscc.rtss.storage.ws.GetPolicyResponse_JAXB_Serialization_Stub.java)
at com.ibm.xml.xlxp2.jaxb.marshal.JAXB_Serialization_Root_Stub.write(com.ibm.xml.xlxp2.jaxb.marshal.JAXB_Serialization_Root_Stub.java)
at com.ibm.xml.xlxp2.jaxb.marshal.MarshallerImpl.marshal(MarshallerImpl.java:165)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:566)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:236)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:183)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:110)
at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at com.ibm.ws.jaxws.web.POJOJaxWsWebEndpoint.invoke(POJOJaxWsWebEndpoint.java:114)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.handleRequest(LibertyJaxWsServlet.java:135)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.doPost(LibertyJaxWsServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.service(LibertyJaxWsServlet.java:86)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:758)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:441)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1041)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:78)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:252)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:531)
at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
at java.lang.Thread.run(Thread.java:736)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.