【问题标题】:Cannot use functional test plugin on grails无法在 grails 上使用功能测试插件
【发布时间】:2013-12-17 23:41:20
【问题描述】:

我正在尝试将功能测试插件 (http://grails.org/plugin/functional-test) 用于 grails。在我的构建配置中,我这样做:

plugins {
    ...
    compile ":functional-test:2.0.RC1"
}

当我这样做时

grails compile 

grails compile --refresh-dependencies

我明白了:

| Error Fatal error during compilation org.apache.tools.ant.BuildException: java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/html/DomElement (Use --stacktrace to see the full trace)

有什么想法吗?

【问题讨论】:

  • 你运行的是什么版本的 grails?
  • @JacobASeverson 我正在运行 grails 2.2.1

标签: grails grails-plugin


【解决方案1】:

我使用的是 1.2.7 版本,但我在第一次运行 compile 时看到了相同的内容(或任何触发依赖解析的内容)。但我第二次这样做时,一切正常。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-10-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多