Maybe you can help me I got a strange apache maven\'s problem, when opening my project at Intellij Idea 13. When projects was open I have no libraries at External Libraries
Delete the entire .m2/repository folder manually, and then update your Maven project again.
I was facing the same error and I have fixed it by; IntelliJ -> Setting-> Build, Execution, Deployment ->Build Tool->Maven ->Importing->in this view check the JDK Importer and change the exact version of JDK (example : 1.8.0.250) installed on your machine from the drop-down.
After doing the same it prompts for verification and after that, the maven will be automatically updated and the project will run.
In my case, I did the same thing as the JDK which is used in the machine is different when the project is imported from a repository. These things happen when we uninstall the IDE and JDK and install the IDE and different version of JDK, The IDE automatically fetch the project which is available in the machine as before but it can not change the imported JDK.
I fixed this by changing my local Maven 3.3.9 to Idea Bundle Maven3.