java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider

openas2 | akwitt | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to start on Linux

    openas2 | 1 decade ago | akwitt
    java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/bouncycastle/jce/provider/BouncyCastleProvider

      at org.openas2.util.AS2UtilOld.getCryptoHelper()
    2. org.openas2.util
      AS2UtilOld.getCryptoHelper
      1. org.openas2.util.AS2UtilOld.getCryptoHelper(AS2UtilOld.java:30)
      1 frame
    3. org.openas2.cert
      PKCS12CertificateFactory.init
      1. org.openas2.cert.PKCS12CertificateFactory.init(PKCS12CertificateFactory.java:253)
      1 frame
    4. org.openas2.util
      XMLUtil.getComponent
      1. org.openas2.util.XMLUtil.getComponent(XMLUtil.java:38)
      1 frame
    5. org.openas2
      XMLSession.<init>
      1. org.openas2.XMLSession.loadCertificates(XMLSession.java:98)
      2. org.openas2.XMLSession.load(XMLSession.java:78)
      3. org.openas2.XMLSession.<init>(XMLSession.java:46)
      3 frames
    6. org.openas2.app
      OpenAS2Server.main
      1. org.openas2.app.OpenAS2Server.start(OpenAS2Server.java:32)
      2. org.openas2.app.OpenAS2Server.main(OpenAS2Server.java:17)
      2 frames