I want to download and convert pdf files into plain text by using itextpdf.5.4.1. For most of them my code works but for one of them I encountered the error below when I try to read the file.
PdfReader reader = new PdfReader(pdf_file_path);
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Primitive
Does it mean that this pdf is protected and there is no way to extract the text?