我使用的是spire.pdf.free-5.1.0.jar,在demo中成功将PDF转换成word,但是部署在windows环境中的项目中时进行pdf转word时报错。
[2023.01.29 18:12:28.633]Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.spire.pdf.packages.sprZOa
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprRra.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprRra.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.spradA.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprPqb.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprPqb.<init>(Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprzpb.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprzpb.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.packages.sprzpb.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.PdfDocumentBase.spr (Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.PdfDocumentBase.save(Unknown Source)
[2023.01.29 18:12:28.633] at com.spire.pdf.PdfDocument.saveToFile(Unknown Source)