Could not find artifact org.eclipse.m2e:lifecycle-mapping:pom:1.0.0
在Spring工程编译过程中遇到报错:Could not find artifact org.eclipse.m2e:lifecycle-mapping:pom:1.0.0
原因是pom文件中缺少依赖
解决办法:
将如下依赖加在pom文件中,在打开的pom文件右键open in terminal 在命令窗口执行执行mvn clean install 回车执行即可
4.0.0
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<packaging>maven-plugin</packaging><name>lifecycle-mapping Maven Dummy Plugin</name>
<description>Dummy Plugin, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=367870
and http://stackoverflow.com/questions/7905501/get-rid-of-pom-not-found-warning-for-org-eclipse-m2elifecycle-mapping/
</description>
<url>https://bugs.eclipse.org/bugs/show_bug.cgi?id=367870</url>
<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties><dependencies><dependency><groupId>org.apache.maven</groupId><artifactId>maven-plugin-api</artifactId><version>2.0</version></dependency><dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>4.10</version><scope>test</scope></dependency>
</dependencies><build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-plugin-plugin</artifactId><version>2.5.1</version><configuration><goalPrefix>lifecycle-mapping</goalPrefix></configuration><executions><execution><id>generated-helpmojo</id><goals><goal>helpmojo</goal></goals></execution></executions></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId><version>2.3.2</version></plugin></plugins>
</build>
Could not find artifact org.eclipse.m2e:lifecycle-mapping:pom:1.0.0相关推荐
- maven项目 报错 Lifecycle mapping quot;org.eclipse.m2e.jdt.JarLifecycleMappingquot; is not available.
最近发现从svn检出的项目转成Maven项目之后会经常报错,各种奇葩错... 最常见的是项目上面出现红色叹号啦,jar包丢失的问题,还算比较好解决了. 这次遇到了个 Lifecycle mapping ...
- 解决sts 导入maven工程 报 Lifecycle mapping org.eclipse.m2e.jdt.JarLifecycleMapping is not available.
前段时间 开始尝试spring boot,无奈myeclipse不支持jdk7 .只好换sts 但是在用sts 导入 导入maven工程 pom.xml上,报 Lifecycle mapping & ...
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav问题
1.导致问题原因:从装系统,从win7改到win10 由于重装了系统,打开eclipse时,maven验证会出错,点击pom文件,会发现有红色的Cannot read lifecycle mappin ...
- eclipse m2e配置_使用此首选项可加快Eclipse m2e配置
eclipse m2e配置 谁不认识他们. Eclipse中的旧式JFace对话框可以使您直观地看到实际上是一个相当简单的XML或属性文件. 对于m2e,它看起来像这样: 不幸的是,此屏幕的加载速度有 ...
- Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtim
Eclipse里开发maven项目有如下警告的解决办法: 1.Description ResourcePath Location Type Classpath entry org.maven.ide. ...
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决
Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins问题的解决 参考文章: (1)Cannot re ...
- SpringBoot使用mybatis-autogenerator时,显示Failure to find org.eclipse.m2e:lifecycle-mapping:pom:1.0.0错误
SpringBoot使用mybatis-autogenerator子自动生成代码时候,报如下错误: Failure to find org.eclipse.m2e:lifecycle-mapping: ...
- Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtim ...
- idea The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency informa
在使用mybatis generate自动生成时出现The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dep ...
最新文章
- 【分享】Oracle 常用运维命令大全
- python中自带的三个装饰器_python三个自带装饰器的功能与使用(@property、@staticmethod、@classmethod)...
- spring 扫描所有_SpringBoot和Spring到底有没有本质的不同?
- c语言游戏编程网盘下载,C语言游戏编程 计算器(5分下载)
- JavaScript从入门到精通之入门篇(一)概念与语法
- Android 起调手机QQ,联系客服
- 2020年上半年巨量引擎手机行业白皮书
- 织梦ajax加载文章列表,织梦dedecms首页列表页ajax点击下拉加载更多文章瀑布流效果...
- h3c交换机配置远程管理_H3C交换机配置管理VLAN和配置远程登录
- 使用Smart3D进行倾斜摄影实景建模详细教程
- Android Canvas API总结和使用方法
- 单片机音频谱曲软件_基于51单片机音乐播放仿真 乐谱制作软件 音乐资料
- 我梦见了画,然后画下了梦
- 【龙芯1c库】封装gpio接口和使用示例
- 90%的人都浪费了阳台?这6种装修方案建议照搬~
- 嵌入式培训多少钱?嵌入式学习要了解这些内容!
- linux下载安装的命令,linux安装和常用命令
- SSDHDD混装换一块SSD(迁移系统与资料不重装)
- Java利用多线程编程实现一个正在旋转的地球
- 工资管理系统(附源码,直接复制就可以跑起来)
热门文章
- MAC 终端命令,解压 rar 文件配置
- java通过SMS短信平台实现发短信的功能
- 阿波罗数据集怎么下载_百度阿波罗发布全球最大的无人驾驶汽车数据集
- poi怎么设置某个单元格为下拉框_java excel 多选下拉列表设置
- 22. 案例:在 proxy 内网环境下使用 percona 监控 mysql
- python repl_Python REPL通俗的理解什么?
- 解决魔兽争霸(冰封王座)1.20 浩方建主机卡机问题。
- 移动硬盘数据丢失如何恢复
- 数学基础_若要使骰子(六个面)的每个数都出现至少一次,那么平均需要掷多少次骰子?
- python 函数enumerate用法