Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils #8

Open
laihuan opened this issue May 30, 2013 · 2 comments

Comments

@laihuan
Copy link

laihuan commented May 30, 2013

Caused by: java.lang.NoClassDefFoundError: org.apache.commons.lang.StringEscapeUtils
at com.cnblogs.android.parser.BlogListXmlParser.endElement(BlogListXmlParser.java:114)
直接编了打开就出错了,是你lib问题吧

@Captain1
Copy link

是不是你没把这个jar包导入,反正我Eclipse里单独导入这个包就没问题了。

@luckyshane
Copy link

我遇到了同样的问题,我的解决办法是:将lib目录更改为libs,重新导入工程。
之前以为是库的问题,所以我重新下载了commons-lang3-3.4.jar,后来就用的这个库,应该是不影响的。

可参考下面链接:

  1. http://stackoverflow.com/questions/10005206/twitter4j-androidruntime446-java-lang-noclassdeffounderror-twitter4j-http
  2. http://stackoverflow.com/questions/2349244/could-not-find-method-xxx-referenced-from-method-yyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants