提示Could not calculate build plan Plugin org.apache.maven.pluginsmaven-resources
Eclipse创建maven项目时,出现Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources错
在用Eclipse创建maven项目时,出现Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. Error code 407, Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) log4j-test01 Unknown Maven Problem错误
问题描述
Eclipse创建maven项目时报错,如图:
解决办法
右键->Run as->Maven install
成功,没有报错了!!!
如果还不行就强制更新下项目,操作如下图:
这两个操作之后应该是不会有报错了
再或者这样
1.打开Eclipse→Window→Preferences,然后在Preferences窗口中找到Maven→UserSettings找到.m2文件的安装目录,然后将.m2/repository/org/apache/maven/plugins目录下的文件夹全部删除,选中maven项目,右键–》maven–》update让maven重新下载依赖包
2.如果自己重新设置了maven本地仓库,则选择Global Settings安装目录。我的安装位置是D:\apache-maven-3.3.9\conf\settings.xml,找到setting.xml文件,找到自己设置的maven本地仓库的位置,我的为D:/jingtaodb/mvn_repo。然后将mvn_repo文件删掉,重新导入
3.选中maven项目,右键–》maven–》update让maven重新下载依赖包
提示Could not calculate build plan Plugin org.apache.maven.pluginsmaven-resources相关推荐
- eclipse导入maven项目时报Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources...
本文转载自:http://blog.csdn.net/gdutacma2011149/article/details/50993257 在用Eclipse IDE for Java EE Develo ...
- 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 ...
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.4
Eclipse 下出现此种错误,原因maven 本地库下maven-war-plugin-2.2.jar 和pom 后缀都被改为.Jar.updated 解决方法把updated后缀去掉即可... 当 ...
- Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:3.2.2
问题: Failure to transfer org.apache.maven.plugins:maven-war-plugin:pom:3.2.2 from https://repo.maven. ...
- Eclipse创建的Maven项目报错Could not calculate build plan: Plugin
Eclipse创建的Maven项目报错Could not calculate build plan: Plugin 2018年05月10日 21:59:25 TIMI-Nian 阅读数:5040 标签 ...
- Maven 问题could not calculate build plan: plugin的处理
一.报错信息 二.问题解决 强制更新Maven Project 三.更多内容 Maven 问题 Failure to transfer org.apache.maven.plugins:maven-s ...
- maven项目创建出错Could not calculate buil d plan:Plugin org.apache.maven.plugins 避坑
遇见问题: 首先检查是否完成maven配置,可以参考大佬教程: https://www.cnblogs.com/pengyan-9826/p/7767070.html 如果解决了,那就恭喜了 如果还是 ...
- Maven 的Could not calculate build plan错误解决方法(不一定适用,看原因)
Maven 的Could not calculate build plan错误解决方法(不一定适用,看原因): 1.将C:\Users\a\.m2\repository\org\apache\mave ...
- Could not calculate build plan
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-resources-plugin: ...
最新文章
- 正则表达式的基本入门
- vue项目中keep-alive的使用,从详情页返回列表时保存浏览位置
- SQLSERVER2014的内存优化表
- Linux shell脚本附带选项(参数传递及接收)
- linux 软件 名称 更新,linux软件版本管理命令update-alternatives使用详解
- mysql names gb2312_mysql_query(set names gb2312)设置客户端字符集
- jQuery / zepto ajax 全局默认设置
- LeetCode 1247. 交换字符使得字符串相同
- PL/SQL“ ORA-14551: 无法在查询中执行 DML 操作”解决
- LINUX安装DeepStream
- 计算机科学与技术代码0812,一级学科代码及名称0812计算机科学与技术(2007年)本.doc...
- 富士施乐Fuji Xerox DocuPrint M235 dw 驱动
- 硬盘数据恢复——误删除卷数据恢复
- mysql tidb 删除延迟_TiDB DM踩坑实践总结
- 复习专栏之---设计模式(java)
- Vivado综合设置之-gated_clock_conversion
- ATV 开发 二 、内置gtvs
- html css精灵,CSS spirit /css精灵
- k8s添加删除label
- 机器学习入门:重要的概念---信息熵(Shannon’s Entropy Model)
热门文章
- 联想拯救者y7000p加内存条_联想 拯救者Y7000P 怎么升级内存?
- python深度学习include框架_搞事情。《用Python实现深度学习框架》已出版上架。...
- css+js制作循环轮播图——可滑动
- 数据库学习之num1
- 【C/C++学习笔记】C++11 Lambda 表达式 (匿名函数)(TR1)
- 如何下载react依赖包
- Java文件读操作(两种read方法)
- Oracle Database 10g for Windows2003安装
- java全套学习课程
- 最新最全论文合集——多模态情感分析