java.lang.NoClassDefFoundError at line 91
org.docx4j.jaxb.Context (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:733)
at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:462)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:379)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:345)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:310)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at tr.com.cs.aurora.auroracore.utility.CSAbstractCaller.call(lqb:122)
at tr.com.cs.aurora.extensions.server.banking.CSBankingCaller.call(CSBankingCaller.java:34)
at tr.com.cs.aurora.auroracore.utility.CSCaller.call(mtb:87)
at tr.com.cs.aurora.auroracore.listener.ejb.ListenerBean.executeService(nxb:79)
at tr.com.cs.aurora.auroracore.listener.ejb.ListenerBean.execute(nxb:15)
at tr.com.cs.aurora.auroracore.listener.ejb.EJSLocalStatelessListenerBean_179455c0.execute(Unknown Source)
at tr.com.cs.aurora.auroracore.listener.ejb.ListenerClient.execute(uvb:75)
at tr.com.cs.aurora.auroracore.listener.servlet.command.server.CommandRemoteCall.execute$Impl(sfb:96)
at tr.com.cs.aurora.auroracore.listener.servlet.command.server.CommandRemoteCall.execute(sfb:101)
at tr.com.cs.aurora.utility.command.SCommand.executeCommand(pe:59)
at tr.com.cs.aurora.auroracore.listener.servlet.ListenerServlet.execute(bqb:97)
at tr.com.cs.aurora.auroracore.listener.servlet.ListenerServlet.doPost(bqb:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: java.lang.NoClassDefFoundError: org.eclipse.persistence.exceptions.JAXBException
at java.lang.J9VMInternals.prepareClassImpl(Native Method)
at java.lang.J9VMInternals.prepare(J9VMInternals.java:291)
at java.lang.Class.getMethod(Class.java:1216)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:131)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:258)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
at org.docx4j.jaxb.Context.<clinit>(Context.java:146)
... 47 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.persistence.exceptions.JAXBException
at java.net.URLClassLoader.findClass(URLClassLoader.java:607)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:243)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:846)
at java.lang.ClassLoader.loadClass(ClassLoader.java:825)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:805)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:586)
at java.lang.ClassLoader.loadClass(ClassLoader.java:805)
Hi All,
I want to convert html to docx. I get following error. Can anybody help me
my java and jars versions. java 1.6 docx4j 3.3.5 docx4j-ImportXHTML 3.3.4 slf4j-api 1.7.25 xhtmlrenderer 3.0.0 com.google.guava 19.0 com.lowagie itext 2.1.7 xalan 2.7.1 xalan serializer2.7.1 org.eclipse.persistence.moxy 2.5.1 docx4j-MOXy-JAXBContext 3.0.0
java.lang.NoClassDefFoundError at line 91 org.docx4j.jaxb.Context (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91) at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:733) at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134) at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:462) at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:379) at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:345) at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:310) at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at tr.com.cs.aurora.auroracore.utility.CSAbstractCaller.call(lqb:122) at tr.com.cs.aurora.extensions.server.banking.CSBankingCaller.call(CSBankingCaller.java:34) at tr.com.cs.aurora.auroracore.utility.CSCaller.call(mtb:87) at tr.com.cs.aurora.auroracore.listener.ejb.ListenerBean.executeService(nxb:79) at tr.com.cs.aurora.auroracore.listener.ejb.ListenerBean.execute(nxb:15) at tr.com.cs.aurora.auroracore.listener.ejb.EJSLocalStatelessListenerBean_179455c0.execute(Unknown Source) at tr.com.cs.aurora.auroracore.listener.ejb.ListenerClient.execute(uvb:75) at tr.com.cs.aurora.auroracore.listener.servlet.command.server.CommandRemoteCall.execute$Impl(sfb:96) at tr.com.cs.aurora.auroracore.listener.servlet.command.server.CommandRemoteCall.execute(sfb:101) at tr.com.cs.aurora.utility.command.SCommand.executeCommand(pe:59) at tr.com.cs.aurora.auroracore.listener.servlet.ListenerServlet.execute(bqb:97) at tr.com.cs.aurora.auroracore.listener.servlet.ListenerServlet.doPost(bqb:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) Caused by: java.lang.NoClassDefFoundError: org.eclipse.persistence.exceptions.JAXBException at java.lang.J9VMInternals.prepareClassImpl(Native Method) at java.lang.J9VMInternals.prepare(J9VMInternals.java:291) at java.lang.Class.getMethod(Class.java:1216) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:131) at javax.xml.bind.ContextFinder.find(ContextFinder.java:258) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) at org.docx4j.jaxb.Context.<clinit>(Context.java:146) ... 47 more Caused by: java.lang.ClassNotFoundException: org.eclipse.persistence.exceptions.JAXBException at java.net.URLClassLoader.findClass(URLClassLoader.java:607) at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:243) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:846) at java.lang.ClassLoader.loadClass(ClassLoader.java:825) at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:805) at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:62) at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:586) at java.lang.ClassLoader.loadClass(ClassLoader.java:805)