NutzCN Logo
问答 导入nutzmore nutz-1.r.62-SNAPSHOT.jar下不到
发布于 2739天前 作者 shenxiaolei123 2078 次浏览 复制 上一个帖子 下一个帖子
标签:

导入nutzmore, nutz-1.r.62-SNAPSHOT.jar下载不到为什么呢?

10 回复

pom.xml没加快照库吧

从github下的,没有修改的

是配的是我们公司的的

看文档,估计是用了星号

把*改成central也不成。还是下不到。。。

要强制update一次的

update了一样,后台maven的日志

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building nutz-plugins-mock 1.r.62-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/jcenter/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): Received fatal alert: handshake_failure
[WARNING] Could not transfer metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutz-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): Received fatal alert: handshake_failure
[WARNING] Could not transfer metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutzcn-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): Received fatal alert: handshake_failure
[WARNING] Failure to transfer org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml 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 metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): Received fatal alert: handshake_failure
[WARNING] Failure to transfer org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from https://jfrog.nutz.cn/artifactory/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of nutz-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutz-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): Received fatal alert: handshake_failure
[WARNING] Failure to transfer org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from https://jfrog.nutz.cn/artifactory/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of nutzcn-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.nutz:nutz:1.r.62-SNAPSHOT/maven-metadata.xml from/to nutzcn-snapshots (https://jfrog.nutz.cn/artifactory/snapshots): Received fatal alert: handshake_failure
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/jcenter/org/nutz/nutz/1.r.62-SNAPSHOT/nutz-1.r.62-SNAPSHOT.pom
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/nutz-1.r.62-SNAPSHOT.pom
[INFO] Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/nutz-1.r.62-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.495 s
[INFO] Finished at: 2017-06-23T14:31:36+08:00
[INFO] Final Memory: 9M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nutz-plugins-mock: Could not resolve dependencies for project org.nutz:nutz-plugins-mock:jar:1.r.62-SNAPSHOT: Failed to collect dependencies at org.nutz:nutz:jar:1.r.62-SNAPSHOT: Failed to read artifact descriptor for org.nutz:nutz:jar:1.r.62-SNAPSHOT: Could not transfer artifact org.nutz:nutz:pom:1.r.62-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): 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

看来你的jdk版本很低, 把https改成http应该能行, 但严重建议你升级jdk

这回好像对了神奇,我用的是1.7的,我看pom.xml配的是1.6

	<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<compilerArgs>
						<arg>-parameters</arg>
					</compilerArgs>
					<useIncrementalCompilation>false</useIncrementalCompilation>
				</configuration>
			</plugin>
		</plugins>
添加回复
请先登陆
回到顶部