centos mvn构建jar时候显示 al ssl失败 Non-resolvable parent POM for com : Could not transfer artifa

  sun.security.validator.ValidatorException: PKIX path validation failed

 Non-resolvable parent POM for com : Could not transfer artifa

在pom中添加:

</properties>




   <!--   mvn新加  -->
   <repositories>
   <!-- 阿里云仓库,配置Maven仓库,速度快配置在最前面 -->
   <repository>
      <id>aliyun</id>
      <url>http://maven.aliyun.com/nexus/content/groups/public</url>
   </repository>
   <!-- 国内备选仓库 -->
   <repository>
      <id>repo2</id>
      <url>http://repo2.maven.org/maven2/</url>
   </repository>
   <!-- Cloudera仓库,如果在阿里云仓库里找不到去Cloudera的仓库里找,主要是CDH版本Hadoop依赖的jar -->
   <repository>
      <id>cloudera</id>
      <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
   </repository>
   </repositories>
<!--   mvn新加 end-->




   <dependencies>
上一篇:django报错TypeError: __str__ returned non-string (type int)


下一篇:python del 和弱引用