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 openxava by yerikab
, 1 year ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via knowcoding.com by Unknown author, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via Oracle Community by 837268, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: h3.sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via Stack Overflow by user3566347
, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via knowcoding.com by Unknown author, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
via knowcoding.com by Unknown author, 2 years ago
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)	at java.security.cert.CertPathBuilder.build(Unknown Source)	at sun.security.validator.PKIXValidator.doBuild(Unknown Source)	at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)	at sun.security.validator.Validator.validate(Unknown Source)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown Source)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)	at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:507)	at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:447)	at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1875)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:648)	at javax.mail.Service.connect(Service.java:317)	at javax.mail.Service.connect(Service.java:176)	at javax.mail.Service.connect(Service.java:125)	at javax.mail.Transport.send0(Transport.java:194)	at javax.mail.Transport.send(Transport.java:124)	at org.openxava.util.Emails.send(Emails.java:119)	at org.openxava.sat.actions.GenerateCustomReportAction.getParameters(GenerateCustomReportAction.java:118)	at org.openxava.actions.JasperReportBaseAction.execute(JasperReportBaseAction.java:94)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:403)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320)	at org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)	at org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:177)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)	at org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)	at org.openxava.web.dwr.Module.getURIAsStream(Module.java:204)	at org.openxava.web.dwr.Module.request(Module.java:62)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)	at java.lang.Thread.run(Unknown Source)