I am using Mac Yosemite and Eclipse Luna.
I have successfully imported Maven projects into my workspace and the projects were running without any errors. The issue is Eclipse is not showing compilation error in editor or in project explorer.
Default Builders is "Maven Project Builder".
Right click a project in the project explorer and choose Maven
> Update project
, or press
Alt + F5 . Select all the relevant projects and Ok. This automatically cleans and updates the workspace.
After this you may see errors in your project in package explorer. Expand src folder and remove the package that is showing the error.
It helped me this way.
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.