NutzCN Logo
问答 Maven 导入 NutzBoot生成压缩包项目,Update后显示很多错误 'dependencies.dependency.version' is missing for xxx
发布于 2529天前 作者 qq_8d463e02 6618 次浏览 复制 上一个帖子 下一个帖子
标签:

Eclipse 中 Maven 导入 NutzBoot 生成的压缩包项目,Update后显示很多错误 'dependencies.dependency.version' is missing for xxx

~~~~~
Description Resource Path Location Type
Project build error: 'dependencies.dependency.version' for com.alibaba:druid:jar is missing. pom.xml /demo line 44 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for junit:junit:jar is missing. pom.xml /demo line 77 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-jdbc:jar is missing. pom.xml /demo line 40 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-jetty:jar is missing. pom.xml /demo line 28 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-nutz-dao:jar is missing. pom.xml /demo line 36 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-nutz-mvc:jar is missing. pom.xml /demo line 32 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-swagger:jar is missing. pom.xml /demo line 24 Maven pom Loading Problem
Project build error: 'dependencies.dependency.version' for org.slf4j:slf4j-log4j12:jar is missing. pom.xml /demo line 68 Maven pom Loading Problem
Project build error: Non-resolvable import POM: Failure to transfer org.nutz:nutzboot-parent:pom:2.2-SNAPSHOT from https://jfrog.nutz.cn/artifactory/jcenter was cached in the local repository, resolution will not be reattempted until the update interval of nutz has elapsed or updates are forced. Original error: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.2-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target pom.xml /demo line 14 Maven pom Loading Problem
。。。。
~~~~

2 回复

jdk的版本低,不认识nutzcn maven库的https证书,可以升级到jdk8最新版,或者把pom.xml里面的https改成http来解决

Could not transfer artifact org.nutz:nutzboot-parent:pom:2.2-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target pom.xml

谢谢,搞定。

添加回复
请先登陆
回到顶部