试图在这里完成教程:http://rwinch.blogspot.com/2011/03/running-spring-securitys-tutorial.html
已经下载了git://github.com/SpringSource/spring-security.git并在Spring Source ToolSuite中获得了很多项目.其中两个包含错误(spring-security-config和spring-security-samples-cassample)
Groovy:Unexpected problem with AST transform: The Spock compiler
plugin Could not run because Spock 0.5.0-groovy-1.7 is not compatible
with Groovy 1.8.4. For more @R_221_4045@ion, see
07001
它附加到该行的错误
package org.springframework.security.config.http
我对Groovy完全不熟悉.那么有可能暗示我做什么简单的事情来升级Spock 0.5.0-groovy-1.7莫名其妙?
解决方法:
-groovy.compiler.level 17
到STS的捷径.
根据这里:http://groovy.codehaus.org/Compiler+Switching+within+Groovy-Eclipse
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。