Last week, I too got the same problem. Then, I didn't set the M2_repo and it was working for me.
Hi Ashish,
Below are the Screenshots I have provided for maven.Could you please figure otherwise how should I reinstall.
I couldn't see maven under my project.Is there any other way to upgrade my project.
right click>>configure>>convert project to maven.
after that options will appear.
I have done what you said but still showing me the error which is cross symbol on MyMavenProject.
Thank you Ashish ,I compiled it again in cmd and refershed it.It was solved.