I am using windows 10 and i have set the path as mention in the instruction
When i run mvn --version i am getting error
C:\Users\zafaque>echo %M2_HOME%
E:\softwares\apache-maven-3.3.9
C:\Users\zafaque>mvn --version
Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
I had the same issue using the source zip archive files from the maven.apache website. I solved using the Binary zip archive files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With