We have a web development that converts word files to pdf and it works well when testing from NetBeans. Deploying the application to IBM Websphere generates the following error:
Services has thrown exception, unwinding now: java.lang.NoClassDefFoundError: com.spire.doc.documents.TabJustification (initialization failure)
[2/23/22 23:05:51:743 COT] 000000e2 0(id=122)] W Exception in handleFault on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor@f1efdacc
.......
Caused by: java.lang.NoClassDefFoundError: com.spire.doc.documents.TabJustification (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:91)
......
Caused by: java.lang.NoClassDefFoundError: sun.security.x509.X509CertImpl
at com.spire.doc.documents.TabJustification.<clinit>(Unknown Source)
at com.spire.doc.packages.sprsax.spr†??—(Unknown Source)
at com.spire.doc.packages.sprsax.spr???—(Unknown Source)
at com.spire.doc.packages.sprghx.spr???—(Unknown Source)
at com.spire.doc.packages.sprghx.spr???—(Unknown Source)
Do you know why this error occurs?