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

构建maven web 项目选择war 包时报错,jar就没错

构建maven web 项目选择war 包时报错,jar就没错

笑靥无伤 2016-05-12 00:51:39
Errors occurred during the build.Errors running builder 'Maven Project Builder' on project 'adsad'.Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2Plugin org.apache.maven.plugins:maven-war-plugin:2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.2
查看完整描述

2 回答

已采纳
?
qq_慕沐3587529

TA贡献5条经验 获得超6个赞

是不是缺少maven打包依赖的jar

查看完整回答
2 反对 回复 2016-05-12
?
笑靥无伤

TA贡献2条经验 获得超1个赞

大概是搞懂了 缺少库地址

查看完整回答
1 反对 回复 2016-05-12
  • 2 回答
  • 0 关注
  • 3841 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信