Grails应用程序spock测试失败

时间:2013-12-05 06:03:55

标签: unit-testing grails newrelic spock

我正在运行grails 2.2.3并安装了一个名为“newrelic:1.0-2.18。”的插件。现在我每次运行项目时都会收到错误。

| Error Error loading event script from file [/Projects/Front/plugins/cached-resources-1.0/scripts/_Events.groovy] startup failed:
Could not instantiate global transform class org.spockframework.compiler.SpockTransform specified at jar:file:/home/user/.grails/ivy-cache/org.spockframework/spock-core/jars/spock-core-0.6-groovy-1.8.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation  because of exception java.lang.reflect.InvocationTargetException

1 个答案:

答案 0 :(得分:0)

您是否尝试删除.grails文件夹?