R Pidugu

How To Solve "Error: Could not find or load main class org.codehaus.classworlds.Launcher while building Maven 3.0.4"

I was trying to solve this error in my Ubuntu. Since I need to build Hue /Spark Application and when run the "make apps" or "mvn --version" command on terminal, I was getting "

Error: Could not find or load main class org.codehaus.classworlds.Launcher while building Maven 3.0.4
This error ate all my day almost. Finally found a solution on one website. Just you need to uninstall old maven versions or existing maven. and

sudo apt-get purge maven maven2 maven3
sudo apt-add-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3
 Thanks a lot to those guys for a great help.

Subscribe to this Blog via Email :