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 Oracle Community by Colin Wang, 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 ca.com by Unknown author, 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 oracle.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 java.net 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 843811, 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 Coderanch by Pranabesh Sinha, 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
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:289)	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:200)	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:1053)	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:129)	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:530)	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:465)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1121)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)	at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)	at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:829)	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2117)	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)	at com.hyperion.calcmgr.net.HttpClientMessage.sendPostMessage(HttpClientMessage.java:346)	at com.hyperion.calcmgr.net.HttpClientMessage.postMessage(HttpClientMessage.java:153)	at com.hyperion.calcmgr.provider.planning.MetadataProvider.getApplications(MetadataProvider.java:101)	at com.hyperion.calcmgr.provider.planning.PlanningProvider.getApplications(PlanningProvider.java:111)	at com.hyperion.calcmgr.metadata.CMApplications.refresh(CMApplications.java:125)	at com.hyperion.calcmgr.metadata.CMApplications.getApplications(CMApplications.java:46)	at com.hyperion.calcmgr.metadata.Product.getApplications(Product.java:222)	at com.hyperion.calcmgr.core.ChildrenView.getApplications(ChildrenView.java:115)	at com.hyperion.calcmgr.core.ChildrenView.getApplications(ChildrenView.java:91)	at com.hyperion.calcmgr.core.ChildrenView.getApplications(ChildrenView.java:80)	at com.hyperion.calcmgr.core.treeview.SystemTreeView.getViewChildren(SystemTreeView.java:54)	at com.hyperion.calcmgr.core.FilterViewManager.getChildren(FilterViewManager.java:99)	at com.hyperion.calcmgr.web.filterview.Service.getChildren(Service.java:27)	at com.hyperion.calcmgr.web.filterview.Action.getChildren(Action.java:180)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)	at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)	at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)	at com.hyperion.bpm.web.common.BaseAction.execute(BaseAction.java:68)	at com.hyperion.calcmgr.web.common.BaseAction.execute(BaseAction.java:88)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:434)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)	at com.hyperion.calcmgr.web.util.CSRFFilter.doFilter(CSRFFilter.java:249)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)