java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC

GitHub | yccphp | 3 months ago
  1. 0

    install elasticsearch-head error

    GitHub | 3 months ago | yccphp
    java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC
  2. 0

    Java 7 Class Not Found Exception when calling https

    Stack Overflow | 3 years ago | user3060165
    java.lang.NoClassDefFoundError: sun.net.www.protocol.http.HttpURLConnection at sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:86)
  3. 0

    Bug 826990 – NoClassDefFoundError when calling a webservice using Wise SOAPClient(JDK7)

    redhat.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.net.www.protocol.http.HttpURLConnection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC (occured after recent JRE update)

    w3facility.org | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC
  6. 0

    java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC (occured after recent JRE update)

    Stack Overflow | 3 years ago | Matt C
    java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC

  1. rp 1 times, last 2 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Could not initialize class sun.security.ec.SunEC

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    URL.openConnection
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    5. java.lang.Class.newInstance(Class.java:383)
    6. sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
    7. sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
    10. sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
    11. sun.security.jca.ProviderList.getProvider(ProviderList.java:233)
    12. sun.security.jca.ProviderList.getService(ProviderList.java:331)
    13. sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
    14. javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
    15. javax.net.ssl.SSLContext.getDefault(SSLContext.java:97)
    16. javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:121)
    17. javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:333)
    18. javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:291)
    19. sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:85)
    20. sun.net.www.protocol.https.Handler.openConnection(Handler.java:62)
    21. sun.net.www.protocol.https.Handler.openConnection(Handler.java:57)
    22. java.net.URL.openConnection(URL.java:982)
    22 frames
  3. ElasticSearch
    HttpDownloadHelper$GetThread.run
    1. org.elasticsearch.common.http.client.HttpDownloadHelper$GetThread.openConnection(HttpDownloadHelper.java:341)
    2. org.elasticsearch.common.http.client.HttpDownloadHelper$GetThread.get(HttpDownloadHelper.java:298)
    3. org.elasticsearch.common.http.client.HttpDownloadHelper$GetThread.run(HttpDownloadHelper.java:290)
    3 frames