错误提示: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

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

解决方法:

下载Portecle

http://portecle.sourceforge.net/

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

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

 

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

 






















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

上一篇:Python中的编码错误问题


下一篇:codeigniter框架The URI you submitted has disallowed characters错误解决方法