In local, I’m not getting any trouble in converting the files but when I use it in a diff. environment. I’m getting issues for some files. Not sure what is causing the issue…
Could you help me on this. Below are the “2 error messages” I’m getting
If you come across “com.example.docstore” thats the main class of that project where I’m using groupdocs jar
java.lang.NoClassDefFoundError: com/groupdocs/conversion/internal/o/a/c/compress/archivers/ArchiveStreamFactory
at com.groupdocs.conversion.internal.c.g.f.adapters.b.r(Unknown Source)
at com.groupdocs.conversion.internal.c.g.f.adapters.b.a(Unknown Source)
at com.groupdocs.conversion.internal.c.g.f.adapters.b.a(Unknown Source)
at com.groupdocs.conversion.filetypes.FileType.fromStream(Unknown Source)
at com.groupdocs.conversion.pipeline.a.a(Unknown Source)
at com.groupdocs.conversion.Converter.(Unknown Source)
at com.groupdocs.conversion.Converter.(Unknown Source)
at com.example.docstore.DocStoreMainApplication.convertToPdf(DocStoreMainApplication.java:86)
at com.example.docstore.DocStoreMainApplication.convertFileToPdf(DocStoreMainApplication.java:110)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:359)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1525)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3508)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at com.mirth.connect.server.util.javascript.JavaScriptTask.executeScript(JavaScriptTask.java:150)
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.doCall(JavaScriptFilterTransformer.java:143)
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.doCall(JavaScriptFilterTransformer.java:119)
at com.mirth.connect.server.util.javascript.JavaScriptTask.call(JavaScriptTask.java:113)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.groupdocs.conversion.internal.o.a.c.compress.archivers.ArchiveStreamFactory
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 29 more
java.lang.NoClassDefFoundError: Could not initialize class com.groupdocs.conversion.internal.c.a.w.internal.ok
at com.groupdocs.conversion.internal.c.a.w.internal.oc.naj(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.internal.xG.a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.internal.xG.ai(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.internal.xG.pt(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.internal.nY.os(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzCL.zzZKQ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzCL.zzZRe(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzCJ.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zz9C.zzz(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zz9C.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzBF.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzBF.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJM.zzU(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJM.zzW(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJM.zzV(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJZ.zzb(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJZ.zzZbw(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJY.getWidth(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYT9.zz8a(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYU6.zzYh(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIX.zzzX(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIX.zzW(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIX.zzUx(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIQ.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIQ.zzM(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZJ0.zzF(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIZ.zzz(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIZ.zzU(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZIZ.zzV(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzW0.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzW0.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYUQ.zzYyy(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYUQ.zzY(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYUQ.zzZ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzXI.zzab(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzXI.zzW(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzXI.zzX(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ47.zzB(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ47.zzC(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ47.zzYNS(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ47.zzL(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ3J.zzI(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzYSR.zz9(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zz8A.zzI(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zz8B.zzZDJ(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.zzZ4C.zzYOb(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.Document.updatePageLayout(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.Document.zzWw(Unknown Source)
at com.groupdocs.conversion.internal.c.a.w.Document.getPageCount(Unknown Source)
at com.groupdocs.conversion.contracts.documentinfo.WordprocessingDocumentInfo.(Unknown Source)
at com.groupdocs.conversion.documents.ae.(Unknown Source)
at com.groupdocs.conversion.documents.ae.(Unknown Source)
at com.groupdocs.conversion.loading.loaders.WordProcessingDocumentLoader.load(Unknown Source)
at com.groupdocs.conversion.pipeline.g.a(Unknown Source)
at com.groupdocs.conversion.Converter.convert(Unknown Source)
at com.groupdocs.conversion.Converter.convert(Unknown Source)
at com.groupdocs.conversion.Converter.convert(Unknown Source)
at com.example.docstore.DocStoreMainApplication.convertToPdf(DocStoreMainApplication.java:88)
at com.example.docstore.DocStoreMainApplication.convertFileToPdf(DocStoreMainApplication.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
at org.mozilla.javascript.BaseFunction.construct(BaseFunction.java:359)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1525)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3508)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at com.mirth.connect.server.util.javascript.JavaScriptTask.executeScript(JavaScriptTask.java:150)
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.doCall(JavaScriptFilterTransformer.java:143)
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.doCall(JavaScriptFilterTransformer.java:119)
at com.mirth.connect.server.util.javascript.JavaScriptTask.call(JavaScriptTask.java:113)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)