java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen

Oracle Community | user741974 | 3 years 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

    A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen

    Oracle Community | 3 years ago | user741974
    java.lang.ExceptionInInitializerError: A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen

    Root Cause Analysis

    1. java.lang.ExceptionInInitializerError

      A security class cannot be found in this JVM because of the following reason: sun.security.x509.CertAndKeyGen

      at org.opends.server.util.Platform$PlatformIMPL.<clinit>()
    2. org.opends.server
      DirectoryServer.main
      1. org.opends.server.util.Platform$PlatformIMPL.<clinit>(Platform.java:132)
      2. org.opends.server.util.Platform.<clinit>(Platform.java:85)
      3. org.opends.server.util.CertificateManager.generateSelfSignedCertificate(CertificateManager.java:283)
      4. org.opends.server.admin.AdministrationConnector.createSelfSignedCertifIfNeeded(AdministrationConnector.java:703)
      5. org.opends.server.admin.AdministrationConnector.initializeAdministrationConnector(AdministrationConnector.java:182)
      6. org.opends.server.core.ConnectionHandlerConfigManager.initializeAdministrationConnectorConfig(ConnectionHandlerConfigManager.java:356)
      7. org.opends.server.core.DirectoryServer.initializeAdministrationConnector(DirectoryServer.java:2872)
      8. org.opends.server.core.DirectoryServer.startServer(DirectoryServer.java:1539)
      9. org.opends.server.core.DirectoryServer.main(DirectoryServer.java:9930)
      9 frames