I\'ve rolled onto a maven project that when I run mvn clean install
from command line builds and runs fine. I had this project displaying in Eclipse without err
The build
and WebContent
folders indicate that you haven't properly imported Maven project into the Eclipse, hence errors.
One of the way to fix this:
Delete project from the Eclipse.
Go to project folder and delete all not needed folders. (Leave src
).
Go to Eclipse click File
-> Import...
, select Existing Maven Projects
, select your project folder, Finish
.