标签:maven
为了和团队开发环境保持一致,需要
在Ubuntu上安装maven2.2.1,引文我之前已经用apt-get命令安装了3.3的maven,在执行maven命令时报错:
Maven: NoClassDefFoundError: org/codehaus/plexus/classworlds/launcher/Launcher
用以下命令重新链接,就可以搞定:
bash-3.2$ cd /usr/share/
bash-3.2$ sudo mv maven maven.temp
bash-3.2$ sudo ln -s /usr/local/apache-maven/apache-maven-2.2.1/ maven
Maven: NoClassDefFoundError: org/codehaus/plexus/classworlds/launcher/Launcher
标签:maven
原文地址:http://blog.csdn.net/gisredevelopment/article/details/46365927