简体   繁体   中英

java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDPage

Getting this error when extracting text from PDF files from a Java service. Use JDK 1.8 and PDFbox 1.8.6 on Windows Server.

堆栈跟踪

Added stack trace. Issue was the awt.dll was not in the PATH. Added the C:\jdku275b-01\jre\bin to the system PATH and restarted the server. It is working now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM