Ant error: Could not find xml-commons-apis Java extension for this JVM解决方法
2011-12-14 09:15
543 查看
转自: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
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解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法 .
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- 在centos中运行java命令时出现Error: Could not find or load main class XXX问题的解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法 .
- 【JAVA错误笔记】 - 【Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法】
- 解决commons.CommonsLogger (CommonsLogger.java:45) Could not find method
- Eclipse 出现Some sites could not be found. See the error log for more detail.错误 解决方法
- 【mysql】FATAL ERROR: Could not find ./bin/my_print_defaults 解决方法
- Error: could not find java.dll如何解决
- Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 错误的解决办法
- FATAL ERROR: Could not find ./bin/my_print_defaults 解决方法
- Error: could not find java.dll如何解决
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- could not find a getter for in class方法解决
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法