java.lang.NoClassDefFoundError: sun/security/validator/KeyStores

Coderanch | kishore goswami | 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

    Error in HTTPS connection

    Coderanch | 1 decade ago | kishore goswami
    java.lang.NoClassDefFoundError: sun/security/validator/KeyStores
  2. 0

    Creating a secure connection - problems

    devshed.com | 1 year ago
    java.lang.NoClassDefFoundError: sun/security/validator/KeyStores
  3. 0

    SunJSSE on IBM platforms (AIX and z/OS)

    Oracle Community | 1 decade ago | 843811
    java.lang.NoClassDefFoundError: sun/security/validator/KeyStores
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/security/validator/KeyStores

      at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.<init>()
    2. Java JSSE
      TrustManagerFactoryImpl.engineInit
      1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.<init>(Unknown Source)
      2. com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl$SimpleFactory.a(Unknown Source)
      3. com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl.engineInit(Unknown Source)
      3 frames
    3. Java RT
      TrustManagerFactory.init
      1. javax.net.ssl.TrustManagerFactory.init(Unknown Source)
      1 frame
    4. Java JSSE
      SSLSocketFactoryImpl.<init>
      1. com.sun.net.ssl.internal.ssl.SSLContextImpl.e(Unknown Source)
      2. com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.<init>(Unknown Source)
      2 frames
    5. Java RT
      URL.openConnection
      1. java.lang.Class.newInstance0(Native Method)
      2. java.lang.Class.newInstance(Class.java:237)
      3. javax.net.ssl.SSLSocketFactory.getDefault(Unknown Source)
      4. com.sun.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(Unknown Source)
      5. com.sun.net.ssl.HttpsURLConnection.<init>(Unknown Source)
      6. com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.<init>(Unknown Source)
      7. com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection(Unknown Source)
      8. java.net.URL.openConnection(URL.java:781)
      8 frames