简体   繁体   中英

M2E Maven Plugin: Importing Maven project is throwing error in Eclipse JUNO

I have an existing project in maven which is working fine in other remote env which i dont have any access, I dont know what is the issue in my env, the same project is working in other remote env.

My Env Details are:-

Java1.7 Tomcat7.x Eclipse Juno,Build id: 20120614-1722 Plugin Details: M2E - Maven Integration for Eclipse

The below error is coming while importing the project and after selecting pom.xml.

No marketplace entries found to handle maven-compiler-plugin:2.0.2:compile in Eclipse

在此处输入图片说明

转到窗口>首选项> Maven安装,然后停用嵌入式并添加您自己的安装。

I would check:

  • That Eclipse Maven build settings are using a JDK and not a JRE
  • Check the actual compiler settings in the POM. Maybe the source and target should be explicitly set to 1.7.

It's also worth checking if this runs properly with mvn from the command line to rule out whether it is truly a Maven or IDE issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM