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>