【问题标题】:JUnit NoSuchMethodError: CompilationResult.getErrors() with Play testsJUnit NoSuchMethodError: CompilationResult.getErrors() 与 Play 测试
【发布时间】:2012-07-12 10:22:53
【问题描述】:

我正在尝试从命令行运行 Play 1.2.3 测试并收到此错误:

[junit] Testcase: initializationError(com.package.MyTest):  Caused an ERROR
[junit] org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
[junit] java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;

我尝试添加几个 Eclipse 和 Jasper 罐子,但到目前为止没有运气。

【问题讨论】:

    标签: junit playframework playframework-1.x


    【解决方案1】:

    已通过将gwt-dev-2.1.1.jar 添加到类路径来修复。

    【讨论】:

      猜你喜欢
      • 2012-05-27
      • 2016-08-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多