NoClassDefFoundError using Aspose.Slides 16.9.0 on Tomcat 7 with 1.7

Dear Support,


I try to use the 16.9.0 version of the Aspose Slides library on Tomcat 7, but for some reason I get the exception below when I try to save the Presentation. The code works on my Windows 10 development machine.

The target enviroment is an Ubuntu Linux. The strange thing is that the problem accures since the version 16.4.0. If I change the lib to 16.3.0 it works in the target environment too.

Could you please help me resolve the problem?

Thank you!
Gergely

The stack trace of the error:
java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.ms.pbdb106a0.p6a2feef8.q
com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
com.aspose.slides.p6a2feef8.pafdec700.h.do(Unknown Source)
com.aspose.slides.xp.do(Unknown Source)
com.aspose.slides.xh.(Unknown Source)
com.aspose.slides.xh.do(Unknown Source)
com.aspose.slides.bnf.int(Unknown Source)
com.aspose.slides.bnf.default(Unknown Source)
com.aspose.slides.blx.do(Unknown Source)
com.aspose.slides.blx.do(Unknown Source)
com.aspose.slides.blx.(Unknown Source)
com.aspose.slides.TextFrame.do(Unknown Source)
com.aspose.slides.TextFrame.do(Unknown Source)
com.aspose.slides.TextFrame.do(Unknown Source)
com.aspose.slides.AutoShape.do(Unknown Source)
com.aspose.slides.GroupShape.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.ays.try(Unknown Source)
com.aspose.slides.ays.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
com.thelathe.betaferon.web.controller.AsyncRequestController.getResult(AsyncRequestController.java:51)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:174)

Hi Gergely,

Thanks for inquiring Aspose.Slides.

I have observed your requirements and suggest you to please share the sample project along with Java and operating system details with us. We will use the information provided by you to verify the issue further on our end.

Many Thanks,