maven插件报错之解决

用m2eclipse创建Maven项目时报错

maveneclipsebuilddependenciesauthorizationplugins

用m2eclipse创建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-test01UnknownMaven Problem

解决方法:

1.找到maven库目录,进入:~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1

2.若2.7.1目录下只有,"maven-surefire-plugin-2.7.1.pom.lastUpdated" 则需要到http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/,把里面的文件下载下来放到2.7.1

3.删除2.7.1下的maven-surefire-plugin-2.7.1.pom.lastUpdated文件。

4.项目右键-->maven-->Update Dependencies

.

转载于:https://www.cnblogs.com/pengshuangbao/p/6270656.html

maven插件报错之解决相关推荐

  1. mendeley 安装Microsoft Word 插件 报错及解决

    报错信息 Unable to install the Microsoft Word Plugin start up directory does not exist 解决方案 参考的博客中说是电脑里面 ...

  2. eclipse上新建Maven项目报错及解决

    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of ...

  3. 关于eclipse运行maven项目报错的解决方法

    ** 在运行项目时报The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml ...

  4. eclipse 启动后maven插件报错

    一般情况下, 替换workspace下的\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi即可正常使用. 正常的文件找个同事要一个即可 ...

  5. IDEA创建maven项目报错解决:Failed to create a Maven project: 'C:/Users/../IdeaProjects/../pom.xml' already e

    此文首发于我的个人博客:IDEA创建maven项目报错解决 Failed to create a Maven project 'C:/Users/-/IdeaProjects/-/pom.xml' a ...

  6. maven引用servlet_解决Maven 项目报错 java.httpservlet和synchronized使用方法

    使用java8 的lanmbe表达式时,使用java1.8编译,则会报错 需要在pom.xml的中添加 org.apache.maven.plugins maven-compiler-plugin 2 ...

  7. 常见Eclipse SVN插件报错解决方法

    名师指导: 常见Eclipse SVN插件报错解决方法 在学习SVN的过程中,你经常会遇到SVN插件问题,本文介绍一下在安装SVN插件时常见Eclipse SVN插件报错信息问题,希望本文介绍对你的学 ...

  8. Eclipse 安装插件报错:An error occurred while collecting items to be installed session context was...解决方法汇总

    文章目录 前言 一.产生错误的场景 二.错误信息描述 三.出错原因分析 3.1.错误原因定位 3.2.Eclipse 的更新管理 P2 出错 四.解决方式 4.1.进入 Eclipse 的安装根目录 ...

  9. maven打包报错找不到符号,由于找不到类中方法的解决思路

    maven打包报错找不到符号,若pom文件引用正常,报错的类有修改能正常启动执行程序,很有可能因为该类属于公共工具类,在外层目录,通过pom引用的,修改后工具类后,打包时没有将其重新打包,导致该出引用 ...

最新文章

  1. python全栈慕课网靠谱么_全栈和python的区别 ?
  2. mysql 启动安全模式_“ Word上次启动时失败,以安全模式启动Word ....”解决办法...
  3. matplotlib.pyplot_Matplotlib Pyplot教程
  4. QT的QStackedWidget类的使用
  5. 娱乐开源commons-email-1.x包
  6. 剑指offer——12.矩阵中的路径(不熟)
  7. python和selenium的关系_selenium之python源码解读-webdriver继承关系
  8. LAMP让开放源代码软件更安全 PHP是例外
  9. 宏病毒实验讲解(含共享文件夹建立)
  10. [翻译]机器学习如何个性化推荐音乐
  11. 最简单的梯度下降法求最优值
  12. 【Tableau Desktop 企业日常技巧12】Tableau安装版本要求和配置 信息
  13. excel如何把多张表合并成一个表_如何将多个excel文件合并成一个文件-多个excel文件合并成一个excel表的方法 - 河东软件园...
  14. Cesium 修改geojson样式
  15. 韦根Wiegand协议
  16. RT-Thread Studio 使用笔记(九)| 开启OLED显示(使用 u8g2 软件包 c-latest 版本)
  17. 项目管理习题——挣钱分析法与成本预算和成本估算
  18. 公布旗下(飞秋)系列软件工作原理
  19. codeforces 750 (Div2)ABCD
  20. 论文浅尝-综述 | 基于强化学习的知识图谱综述

热门文章

  1. Linux下tomcat的安装与卸载以及配置(超简单)
  2. 2022-2028年中国柴油行业市场研究及前瞻分析报告
  3. 2021-2027年中国涂装行业市场需求预测与投资战略规划分析报告
  4. docker 配置使用宿主机的GPU(ubuntu16.04+cuda10.0+cudnn7)
  5. Go 学习笔记(61)— Go 高阶函数、函数作为一等公民(函数作为输入参数、返回值、变量)的写法
  6. c语言实现 十进制到二进制的转换
  7. 程序员必备注释模板---佛祖保佑
  8. 【C#】Out与ref是干什么的?
  9. SpringBoot (四) :SpringBoot整合使用JdbcTemplate
  10. 电脑蓝屏问题检查、解决、