An EAR file for our Windows development system works fine, the application runs.
When transporting the same EAR file to our TEST system (Linux), the application raises an error, when instantiating the Presentation object with
Caused by: java.lang.NoClassDefFoundError: com.aspose.metafiles.EmfMetafileat java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:66)
at java.lang.J9VMInternals.verify(J9VMInternals.java:64)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
at com.aspose.slides.Presentation.do(SourceFile:297)
at com.aspose.slides.Presentation.(SourceFile:468)
That is the code where it happens:
this.presentation = new Presentation(EngineImpl.class.getResourceAsStream("/mytemplate.ppt"));
As already mentioned, it works at our development system.
We use the JAI Java library, no native accelleration, so the JAI jars should run for Windows and Linux.
This application creates only Powerpoint files, we do not anything with EMF graphic files.
At a different post I read something about possible server.policy problems, can this be our problem? Which policy declaration we need in detail?
Thanks in advance!