我是靠谱客的博主 深情台灯,这篇文章主要介绍Ant error: Could not find xml-commons-apis Java extension for this JVM解决方法,现在分享给大家,希望可以做个参考。
转自: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
最后
以上就是深情台灯最近收集整理的关于Ant error: Could not find xml-commons-apis Java extension for this JVM解决方法的全部内容,更多相关Ant内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复