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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by kishore goswami, 1 year ago
sun/security/validator/KeyStores
via devshed.com by Unknown author, 1 year ago
sun/security/validator/KeyStores
via Oracle Community by 843811, 1 year ago
sun/security/validator/KeyStores
java.lang.NoClassDefFoundError: sun/security/validator/KeyStores
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.(Unknown Source)
at com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl$SimpleFactory.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLContextImpl.e(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.(Unknown Source)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.(Unknown Source)
at com.sun.net.ssl.internal.www.protocol.https.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(URL.java:781)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.