为了账号安全,请及时绑定邮箱和手机立即绑定

偶的是myeclipse但是运行报错

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project sayHello: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-resources-plugin:jar:2.6 -> org.apache.maven:maven-project:jar:2.0.6 -> org.apache.maven:maven-settings:jar:2.0.6 -> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 -> classworlds:classworlds:jar:1.1-alpha-2: Failed to read artifact descriptor for classworlds:classworlds:jar:1.1-alpha-2: Could not transfer artifact classworlds:classworlds:pom:1.1-alpha-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 1]

正在回答

2 回答

在setting.xml的mirrors中添加下面的镜像试试?

<mirror> 

        <id>Central</id> 

        <url>http://repo1.maven.org/maven2</url> 

        <mirrorOf>central</mirrorOf> 

 </mirror>


0 回复 有任何疑惑可以回复我~

好像是依赖的jar没得 

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

偶的是myeclipse但是运行报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信