unable to find valid certification path to requested target

来源:互联网 发布:9.9包邮淘宝 编辑:程序博客网 时间:2024/05/21 12:44

1. 用Nexus搭建私服时报这个错误,是wrapper.log里面的信息,Nexus就是启动不起来。start-nexus.bat这个打开之后自动关闭了,log里面的信息是这样的。

Started InstrumentedSelectChannelConnector@0.0.0.0:8083jvm 1    | 2015-01-09 10:10:51,969+0800 INFO  [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Runningjvm 1    | 2015-01-09 10:10:51,969+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Startedjvm 1    | 2015-01-09 10:10:52,890+0800 WARN  [ar-4-thread-4] *SYSTEM org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error on M2Repository(id=apache-snapshots): javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetjvm 1    | 2015-01-09 10:10:52,890+0800 WARN  [ar-4-thread-2] *SYSTEM org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error on M2Repository(id=central): javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetjvm 1    | 2015-01-09 10:10:52,890+0800 WARN  [ar-4-thread-3] *SYSTEM org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error on M2Repository(id=codehaus-snapshots): javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetwrapper  | nexus started.

网上找不到答案,大部分都是java编程遇到这个错误。大家有遇到的吗?

0 0
原创粉丝点击