• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error in HTTPS connection

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"
 
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic