NutzCN Logo
问答 下载最新的NutzWk,进入wk-framework mvn install 出现以下错误
发布于 2609天前 作者 jimmy0756 1454 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

https://github.com/Wizzercn/NutzWk

我用的jdk版本是:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

我用的maven版本是:apache-maven-3.5.0

[ERROR] Failed to execute goal on project wk-framework: Could not resolve dependencies for project cn.wizzer:wk-framework:jar:4.0.1-SNAPSHOT: Failed to collect dependencies at org.nutz:nutz:jar:1.r.63-SNAPSHOT: Failed to read artifact descriptor for org.nutz:nutz:jar:1.r.63-SNAPSHOT: Could not transfer artifact org.nutz:nutz:pom:1.r.63-SNAPSHOT from/to nutzcn-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): Received fatal alert: handshake_failure -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

D:\laboratory\NutzWk\NutzWk-modular\wk-framework>

6 回复

可以正常访问

是不是安装了多个JDK??

echo %JAVA_HOME%

看看输出啥

C:\Users\admins.m2>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.7.0_75

C:\Users\admins.m2>

果然有... 把环境变量JAVA_HOME指向JDK8的路径

可以了,谢谢!

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