title: I am getting java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Primitive error
body: <p>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.</p>
  
  <pre><code>PdfReader reader = new PdfReader(pdf_file_path);
  
  
  Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1Primitive
  </code></pre>
  
  <p>Does it mean that this pdf is protected and there is no way to extract the text?</p>