错误提示:sun.security.validator.ValidatorException: PKIX path building failed

简介:

内部系统上传文件需要调用Java,但是最近却提示无法运行,错误提示:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

解决方法:

下载Portecle

http://portecle.sourceforge.net/

鼠标右键,run as administrator, 然后找到如下路径:C:\Program Files (x86)\Java\jre6\lib\security\cacerts

 

然后选择import,将证书导入进去,保存退出即可。如果不是管理员运行则会提示无法保存证书。

 






















本文转simmy51CTO博客,原文链接:http://blog.51cto.com/helpdesk/1046442,如需转载请自行联系原作者

相关文章
|
2月前
Error:(56, 18) 错误: com.newCallblack.callshow.util.DownloadUtil cannot be provided without an @Inject
Error:(56, 18) 错误: com.newCallblack.callshow.util.DownloadUtil cannot be provided without an @Inject
10 0
|
5月前
|
安全 Java API
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
网上有很多解决的帖子,我这里只是记录一下方便自己查阅 主要原因是java本身需要证书 1、按导入安全证书的方法解决
308 0
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
11月前
shiro学习之错误 No realms have been configured! One or more realms must be present to execute an authori
shiro学习之错误 No realms have been configured! One or more realms must be present to execute an authori
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
894 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
Java Maven
Maven - Error:java: Annotation processing is not supported for module cycles. Please ensure that all
Maven - Error:java: Annotation processing is not supported for module cycles. Please ensure that all
773 0
Maven - Error:java: Annotation processing is not supported for module cycles. Please ensure that all
|
7月前
|
Java Spring
【Java异常】Caused by: com.sun.mail.iap.BadCommandException: A3 BAD invalid command or parameters的解决方案
【Java异常】Caused by: com.sun.mail.iap.BadCommandException: A3 BAD invalid command or parameters的解决方案
56 0
|
8月前
|
安全 Java 应用服务中间件
分析解决 PKIX path building failed 的问题
分析解决 PKIX path building failed 的问题
193 0
|
9月前
|
Java Android开发
Failed to load JavaHL Library.These are the errors that were encountered:no msvcp100 in java.library
Failed to load JavaHL Library.These are the errors that were encountered:no msvcp100 in java.library
|
9月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
191 0
|
11月前
|
缓存 Java Maven
Information:java: Errors occurred while compiling module ‘shirodemo‘
Information:java: Errors occurred while compiling module ‘shirodemo‘
115 0