Unable to load the mojo - maven install

I fixed this problem by doing a maven update and force Update of Snapshots/Releases

maven > update Maven Project > force Update of Snapshots/Releases

Yes, force update of Snapshots/Releases works for me. And I think it's an easy way to fix this problem.


I had same issue. However, after running {Maven->Update Project} resolved the issue.


I just ran into this problem or something very similar:

Unable to load the mojo 'resources'

I had just renamed some view files and had two path related errors in STS / Eclipse which I fixed but after fixing them a red X appeared next to the war line in the POM file.

"Project -> Clean" didn't help.

"Maven -> Update Project" did the trick though and cleared the error message.


When I had this problem, it seemed to be a problem with my Maven install.

Uninstalling the M2Eclipse plugin and deleting the .m2 folder on my drive, then reinstalling M2Eclipse seemed to fix it.

Tags:

Maven