Mac上写了一段基于Maven的java代码。
上传Git后,在windows上pull下来,eclipse里面各种错误。
ArtifactTransferException:Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from http://maven.oschina.net/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of CN has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from/to CN (http://maven.oschina.net/content/groups/public/): Connection reset
后来,在StackOverflow上面找到了答案,解决了我所遇到的问题,目前试下来还OK。
StackOverflow原文链接:http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
Best Regards,
Lucas Luo