简体   繁体   中英

Grails application spock test failed

I am running grails 2.2.3 and installed a plugin called " newrelic:1.0-2.18 .". Now i am getting the error everytime I run the project.

| 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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM