Tip for resolving the compile errors when importing a Maven project in Eclipse - The Koch Family
The Koch Family The Koch Family

Latest news

جاري التحميل ...

Tip for resolving the compile errors when importing a Maven project in Eclipse

Sometimes, I import a existing Maven project into Eclipse and I get some compile errors related to "pom.xml", "facet version of Web", and  so on. It was really frustrating me because I even cleaned, built and updated the project many times but the errors still occurred.

I accidentally found the following steps to resolve this issue but honestly I still don't know why.

Step 1: Delete the project that met the compile errors in Eclipse, but don't delete it on disk.

Step 2: Open the project (by Windows Explorer if you use Windows) and remove  file/folder ".classpath", ".settings" and ".project" .

Step 3: Import the project back into Eclipse.

---^0^---
Maven is a build automation tool used primarily for Java projects.
Eclipse is an integrated development environment (IDE).

Comments



If you like the content of our blog, we hope to stay in constant communication, just enter your email to subscribe to the blog's express mail to receive new blog updates, and you can send a message by clicking on the button next ...

إتصل بنا

About the site

author The Koch Family <<  Welcome! I'm so glad that you stopped by Your Modern Family blog. Together, we will talk about raising kids, organizing the home and saving money! and Tips & tricks and more…

< Learn more ←

Blog stats

Sparkline 2513183

All Copyrights Reserved

The Koch Family

2020