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

  1. ,
    via Stack Overflow by carlos

    Set the mail.smtp.ssl.trust system property to an smtp host, like smtp.gmail.com.

  2. ,
    Expert tip

    If you're using wiremock, configure your code to accept wiremock self-signed certificate or create a keystore and certificate that are trusted by your HTTP client and configure wiremock to use that

Solutions on the web

via GitHub by tommyziegler
, 2 years ago
This exception has no message.
via GitHub by ledikari
, 1 year ago
This exception has no message.
via GitHub by Zidane
, 1 year ago
This exception has no message.
via GitHub by jkbonfield
, 2 years ago
This exception has no message.
via GitHub by sfchen
, 2 years ago
This exception has no message.
via GitHub by fleharty
, 2 years ago
This exception has no message.
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)	at sun.security.validator.Validator.validate(Validator.java:218)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)	at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)	at com.sun.jndi.ldap.Connection.run(Connection.java:805)	at java.lang.Thread.run(Thread.java:619)