I'm running the most recent version of linux mint, and maven 3.0.5.

I opted for option 3 below, which corrected the problem. Thank you!


On 02/29/2016 04:53 PM, Jagadish Venkatraman wrote:
The problem seems to be a ClassNotFound error for a class in Apache
commons. There appears to be something wrong with your installation of
maven.

What operating system are you using?

With Ubuntu 14.04 64-bit or Fedora 20, please see this
https://github.com/mesos/chronos/issues/211 .  Also, some users in that
community mention that common-lang.jar is missing in the default
installation of Apache Maven 3.0.5.

Somethings you could try:
1. Download the latest version of maven as a tgz from the repo, and run
that binary.
ie, ~/apache-maven-3.0.5/bin/mvn package
instead of the usual 'mvn package'
2. Delete your maven cache directory. Typically, this is ~/.m2
3. Another workaround is to fix this by using a symlink to the installed
version of apache commons so that you include the jar in the lib directory
used by maven:

cd /usr/share/maven/lib
sudo ln -s ../../java/commons-lang.jar .
<https://github.com/toudidel>
Thanks,
Jagadish



--
Jeff Ramin
Software Engineer
Singlewire Software
2601 W Beltline Hwy #510
Madison, WI 53713

Phone Direct - 608.661.1172
www.singlewire.com

Reply via email to