0

After updating the IDE, there were problems working with maven on the command line. When I entered mvn -version, I've had error: Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher

I reinstalled maven and changed the settings of the parameter M2_HOME, but this did not lead to a solution to the problem.

  • Does it work from the command line outside of IntelliJ? See if solutions from https://stackoverflow.com/questions/11118237/maven-error-could-not-find-or-load-main-class-org-codehaus-plexus-classworlds-l help. – Egor Klepikov Feb 08 '22 at 10:19

0 Answers0