对ocService项目Maven install报错:显示jar包有问题
来源:1-3 (补充)项目源码导入,配置,运行,入坑,出坑-1

长亭古道随风
2019-07-09
maven install ocService项目,报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project ocService: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.apache.maven.surefire:surefire-junit3:jar:2.12.4: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit3:jar:2.12.4: Could not transfer artifact org.apache.maven.surefire:surefire-junit3:pom:2.12.4 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
直接Maven install ocProject项目也是报错,一样的错误,为什么,怎么解决??求老是指导
1回答
-
祁聪
2019-07-11
直接在 ocProject项目上 maven install 就可以了,有的Eclipse单独执行子项目会有问题
00
相似问题