• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in HTTPS connection  RSS feed

 
kishore goswami
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam getting the following error when i make a HTTPS connection
can anybody tell me what is the reason for this error and how to rectify it.
java.lang.NoClassDefFoundError: sun/security/validator/KeyStores
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.<init>(Unknown Source)
at com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl$SimpleFactory.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl.engineInit(Unknown Source)
at javax.net.ssl.TrustManagerFactory.init(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLContextImpl.e(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.<init>(Unknown Source)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at javax.net.ssl.SSLSocketFactory.getDefault(Unknown Source)
at com.sun.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(Unknown Source)
at com.sun.net.ssl.HttpsURLConnection.<init>(Unknown Source)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.<init>(Unknown Source)
at com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(URL.java:781)
Exception in thread "main"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!