java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1ObjectIdentifier

Stack Overflow | The Macedon | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    iTextPDF 5.5.0 BouncyCastle dependency issue

    Stack Overflow | 10 months ago | The Macedon
    java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1ObjectIdentifier
  2. 0

    Error in iTEXT (java version)

    Stack Overflow | 4 years ago | Saqib Rezwan
    java.lang.NoClassDefFoundError: org/bouncycastle/tsp/TimeStampTokenInfo

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/bouncycastle/asn1/ASN1ObjectIdentifier

      at com.itextpdf.text.pdf.AcroFields.verifySignature()
    2. iText, a Free Java-PDF library
      AcroFields.verifySignature
      1. com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2349)
      2. com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2302)
      2 frames
    3. es.keensoft.alfresco
      CustomBehaviour.onCreateNode
      1. es.keensoft.alfresco.behaviour.CustomBehaviour.getDigitalSignatures(CustomBehaviour.java:133)
      2. es.keensoft.alfresco.behaviour.CustomBehaviour.onCreateNode(CustomBehaviour.java:78)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. org.alfresco.repo
      JavaBehaviour$JavaMethodInvocationHandler.invoke
      1. org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:174)
      1 frame
    6. com.sun.proxy
      $Proxy54.onCreateNode
      1. com.sun.proxy.$Proxy54.onCreateNode(Unknown Source)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. org.alfresco.repo
      TransactionBehaviourQueue.execute
      1. org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:245)
      1 frame