7 Replies Latest reply on Apr 28, 2020 7:20 AM by jgoldhammer

    9.2 Startup Error/Issue - bouncy castle ( NoClassDefFoundError - X509v1CertificateBuilder )

    mark6805 Novice



      Can someone please help with a problem I'm having setting up my local 9.2 instance.

      I've set up the environment with the configuration outlined below.


      The error seems to be indicatiing that Jive does not have the correct version of a certain dependency (I've never had to add dependencies in pervious Jive versions).


      Thanks in advance for any assistance,



      Note : It was possible to start the instance to enter the database details, and only failed on a subsequent attempt to restart.

      This is a vanilla instance with no customization whatsoever.


      Error :



      Cannot create inner bean 'eosKeyStoreManager$created#683a08f1' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eosKeyStoreManager$created#683a08f1' defined in class path resource [com/jivesoftware/community/aaa/sso/saml/spring-samlContext.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/bouncycastle/cert/X509v1CertificateBuilder


      Java Version :



      [mf64807@0bgdch1u90a1z1g baseproject]$ which java


      [mf64807@0bgdch1u90a1z1g baseproject]$ java -version

      openjdk version "1.8.0_232"

      OpenJDK Runtime Environment Corretto- (build 1.8.0_232-b09)

      OpenJDK 64-Bit Server VM Corretto- (build 25.232-b09, mixed mode)



      Postgres Version :


      [mf64807@0bgdch1u90a1z1g baseproject]$ postgres --version

      postgres (PostgreSQL) 9.2.24



      Maven Version :



      [mf64807@0bgdch1u90a1z1g baseproject]$ mvn --version

      Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:16-04:00)

      Maven home: /developmentvolume/distributions/maven/apache-maven-3.6.2

      Java version: 1.8.0_232, vendor: Amazon.com Inc., runtime: /developmentvolume/distributions/java/corretto/amazon-corretto-

      Default locale: en_US, platform encoding: UTF-8

      OS name: "linux", version: "3.10.0-957.27.4.el7.x86_64", arch: "amd64", family: "unix"



      Tomcat Version :






      Hardware :


      x86_64 x86_64 x86_64 GNU/Linux



                description: CPU

                product: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz

                vendor: Intel Corp.

                vendor_id: GenuineIntel