Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources...
来源:互联网 发布:淘宝设置自动回复内容 编辑:程序博客网 时间:2024/06/05 01:06
打开之间创建的maven项目,pom.xml文件显示红叉,打开pom.xml文件,鼠标放在红叉上,显示Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5的错误,如图
问了度娘,原因是说缺少maven-resources-plugin-2.5.jar或该文件下载不正确,可到repository\org\apache\maven\plugins\maven-resources-plugin\目录看看下载是否正确。或删除该文件重新下载。
解决方法
1、在pom.xml文件中加入maven-resources-plugin配置
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version></dependency>2、在命令行下运行mvn install,如果执行正确应该会在{user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\下看到maven-resources-plugin-2.5.jar文件
3、刷新工程(右键工程选择刷新项)
4、刷新maven配置,右键工程节点,选择Maven4MyEclipse-Update Project Configuration
阅读全文
0 0
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources...
- maven mvn Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin: 2.5
- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:testReso
- 关于maven的错误Execution default-testResources of goal org.apache.maven.plugins:maven-resources-
- maven-resources-plugin:2.6:resources (default-resources)
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be r
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of
- maven安装时报 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6
- Maven 报:Could not find artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3
- Maven 报:Could not find artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3
- 比特币块链和挖矿原理*****
- java基础
- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- Ubuntu32下执行accpet函数出错
- python日志格式
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources...
- JSON 文件操作
- simditor编辑器,图片上传链接替换
- Java Web 模板代码生成器的设计与实现
- eclipse和Android studio中获取sha1和md5
- caffe 编译中出现的错误——fatal error: hdf5.h: 没有那个文件或目录
- unity引用dll文件方法
- BaiduSpeed百度语音唤醒语音识别语音合成
- web页面优化