I had this kind of problem twice while trying to import a Maven project using Eclipse.
One using mvn command and the other using the option File, Import, Existent Maven Projects.
Check which one is your's.
Usually this kind of problem happens due to unicode issues.
1. USING File, Import, Existent Maven Projects
>PROBLEM
You the get the warning when trying to import the maven project.
>SOLUTION
Delete the folder and files shown on the picture below and import the project again.
2. USING mvn COMMAND
Problem
Importing by Eclipse a project created using maven commands, as follows:
mvn archetype:generate
...
cd project_root
mvn eclipse:eclpse
generates the message above.
Follow the details by the pictures below.
Solution
Use just the "mvn archetype:generate" command and then go straight to the Eclipse's import, without using "mvn eclipse:eclipse".
Step by Step the Import Failure
No comments:
Post a Comment