ammu
ammu

Reputation: 864

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

enter image description here

Upvotes: 0

Views: 4252

Answers (2)

JavaDeveloper
JavaDeveloper

Reputation: 11

Go to Window > Preferences > Maven Installations and then deactivate the Embedded and add your own installation.

Upvotes: 1

Big Kahuna
Big Kahuna

Reputation: 543

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.

Upvotes: 0

Related Questions