转自:czg_e的博客http://blog.163.com/czg_e/blog/static/4610456120113704033691/
linux下调试程序的时候发现一启动tomcat就报下面这错误,后来找到解决方法啦,现在共享一下。
/usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
我暂时只用到ant的编译功能,所以编译可以通过,但这个是潜在问题
现行的解决办法
yum -y remove xml-commons-apis
yum -y install xml-commons-apis
yum -y install ant