java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils
来源:互联网 发布:windows桌面图标没了 编辑:程序博客网 时间:2024/05/17 02:08
今天在网上下载了一个android应用源码,导入Eclipse中,报java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils错,
现在在这里记录一下,以便他日查询:
answers:
This means that the class org.apache.commons.lang.Validate
is missing in the runtime classpath. You just have to add the JAR file containing the class to the runtime classpath. It's theApache Commons Lang JAR file. This is also explicitly mentioned at the Jsoup download page.
Assuming that you're launching it using plain vanilla java.exe
like as in yourprevious question, then do so:
java -cp .;/path/to/jsoup.jar;/path/to/commons-lang.jar com.example.YourClass
Note that the Jsoup author has mentioned to remove the Commons Lang dependency in the next Jsoup release.
The next release of jsoup will not require Apache Commons-Lang or any other external dependencies, which brings down the jar size to around 115K
JAR包的下载页面是:http://www.jarfinder.com/index.php/jars/versionInfo/2617
- java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils
- ant运行findbugs出错:java.lang.NoClassDefFoundError: org/apache/commons/lang/StringEscapeUtils
- java.lang.NoClassDefFoundError:org/apache/commons/beanutils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
- java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils...
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils .
- java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils .异常
- T_SQL 2008 语言基础学习笔记
- Android 通过软引用实现图片缓存,防止内存溢出
- Linux下java环境变量设置方法
- hdu2531 Catch him
- poj 3693 Maximum repetition substring
- java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils
- Android ViewPager多页面滑动切换以及动画效果
- linux 命令大全
- Oracle数据库11g新特性:数据库重放
- 胜者树与败者树
- VLC学习文档(载)
- ADO对象连接数据库
- 异常
- Extjs grid和form之间的传值