我將Grails 1.3.5的Grails項目升級到了Grails 2.0.0.RC1和Spock插件從0.5到0.6。並且現在在測試中有這個錯誤:Grails 2.0.0.RC1錯誤Spock測試
| Server running. Browse to http://localhost:8080/appName
| Server stopped
| Tests FAILED - view reports in target\test-reports
| Error Error executing script TestApp: java.lang.RuntimeException: Could
ad class in test type 'spock' (Use --stacktrace to see the full trace)
是的。正如我以前寫的,我已經將spock插件從0.5-groovy-1.7更新爲0.6-SNAPSHOT。與版本0.5我得到編譯錯誤。在編譯和啓動應用程序後發生討論錯誤。 – 17dufa