我在用:
org.apache.commons.lang.builder.EqualsBuilder
java.lang.NoClassDefFoundError: org.apache.commons.lang.builder.EqualsBuilder
commons-lang-2.6.jar
org.apache.commons.lang.builder.EqualsBuilder
NoClassDefFoundError
上找到了许多帖子,但没有一篇涉及单元测试。
最佳答案
我找到了答案。回顾了article之后,我意识到我需要项目A中的jar和测试项目中的commons-lang-2.6.jar。将两个 jar 添加到构建路径并导出解决了该问题。
https://stackoverflow.com/questions/16481831/
相关文章:
model - Play Framework 错误: not found: type model
python - python err : Local variable referenced be
perl - "error: variable length array of non-POD el
compiler-errors - 类型提供程序的 Mono FSharpC 错误
android - 如何解决Java Eclipse中的 “The hierarchy of the
compiler-errors - 错误: no newline at end of file [-