You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NoClassDefFoundError: org.bouncycastle.crypto.engines.AESFastEngine
at com.itextpdf.text.pdf.crypto.AESCipher.(AESCipher.java:62)
at com.itextpdf.text.pdf.StandardDecryption.update(StandardDecryption.java:84)
at com.itextpdf.text.pdf.PdfEncryption.decryptByteArray(PdfEncryption.java:746)
at com.itextpdf.text.pdf.PdfString.decrypt(PdfString.java:218)
at com.itextpdf.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:804)
at com.itextpdf.text.pdf.PdfReader.readDocObj(PdfReader.java:1152)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:512)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:172)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:161)
at com.speedreader.Options$14.run(Options.java:448)
java.lang.NoClassDefFoundError: org.bouncycastle.crypto.engines.AESFastEngine
at com.itextpdf.text.pdf.crypto.AESCipher.(AESCipher.java:62)
at com.itextpdf.text.pdf.StandardDecryption.update(StandardDecryption.java:84)
at com.itextpdf.text.pdf.PdfEncryption.decryptByteArray(PdfEncryption.java:746)
at com.itextpdf.text.pdf.PdfReader.getStreamBytesRaw(PdfReader.java:2365)
at com.itextpdf.text.pdf.PdfReader.getStreamBytes(PdfReader.java:2310)
at com.itextpdf.text.pdf.PdfReader.readObjStm(PdfReader.java:1215)
at com.itextpdf.text.pdf.PdfReader.readDocObj(PdfReader.java:1157)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:512)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:172)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:161)
at com.speedreader.Options$14.run(Options.java:448)
The text was updated successfully, but these errors were encountered:
java.lang.NoClassDefFoundError: org.spongycastle.crypto.engines.AESFastEngine
at com.itextpdf.text.pdf.crypto.AESCipher.(AESCipher.java:62)
at com.itextpdf.text.pdf.StandardDecryption.update(StandardDecryption.java:84)
at com.itextpdf.text.pdf.PdfEncryption.decryptByteArray(PdfEncryption.java:772)
at com.itextpdf.text.pdf.PdfString.decrypt(PdfString.java:221)
at com.itextpdf.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:943)
at com.itextpdf.text.pdf.PdfReader.readDocObj(PdfReader.java:1307)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:641)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:176)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:214)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:202)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:192)
Add dependency jar with correct format,
dependency
groupId-com.itextpdf
artifactId - itextpdf
version-5.5.4
optional-true
// Bouncycastle dependencies necessary as they are optional = true
// in itextpdf ... but they're not-so-optional in reality
dependency
groupId-org.bouncycastle
artifactId-bcprov-jdk15on
version-1.49
Some stack traces:
java.lang.NoClassDefFoundError: org.bouncycastle.crypto.engines.AESFastEngine
at com.itextpdf.text.pdf.crypto.AESCipher.(AESCipher.java:62)
at com.itextpdf.text.pdf.StandardDecryption.update(StandardDecryption.java:84)
at com.itextpdf.text.pdf.PdfEncryption.decryptByteArray(PdfEncryption.java:746)
at com.itextpdf.text.pdf.PdfString.decrypt(PdfString.java:218)
at com.itextpdf.text.pdf.PdfReader.readDecryptedDocObj(PdfReader.java:804)
at com.itextpdf.text.pdf.PdfReader.readDocObj(PdfReader.java:1152)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:512)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:172)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:161)
at com.speedreader.Options$14.run(Options.java:448)
java.lang.NoClassDefFoundError: org.bouncycastle.crypto.engines.AESFastEngine
at com.itextpdf.text.pdf.crypto.AESCipher.(AESCipher.java:62)
at com.itextpdf.text.pdf.StandardDecryption.update(StandardDecryption.java:84)
at com.itextpdf.text.pdf.PdfEncryption.decryptByteArray(PdfEncryption.java:746)
at com.itextpdf.text.pdf.PdfReader.getStreamBytesRaw(PdfReader.java:2365)
at com.itextpdf.text.pdf.PdfReader.getStreamBytes(PdfReader.java:2310)
at com.itextpdf.text.pdf.PdfReader.readObjStm(PdfReader.java:1215)
at com.itextpdf.text.pdf.PdfReader.readDocObj(PdfReader.java:1157)
at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:512)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:172)
at com.itextpdf.text.pdf.PdfReader.(PdfReader.java:161)
at com.speedreader.Options$14.run(Options.java:448)
The text was updated successfully, but these errors were encountered: