Spock compiler plugin could not start because

Tried to complete the tutorial here: http://rwinch.blogspot.com/2011/03/running-spring-securitys-tutorial.html

We downloaded git: //github.com/SpringSource/spring -security.git and got many projects inside the Spring Source ToolSuite. Two of them contain an error ( spring-security-config and spring-security-samples-cassample )

Groovy: An unexpected AST conversion problem: the Spock compiler plugin cannot work because Spock 0.5.0- groovy -1.7 is not compatible with Groovy 1.8.4. For more information see http://versioninfo.spockframework.org

Line Error

 package org.springframework.security.config.http 

I am completely new to Groovy. So can you give me a hint what to just do to update Spock 0.5.0- groovy -1.7 somehow?

+4
source share
1 answer

Solved by adding command line options

  -groovy.compiler.level 17 

for quick access to STS.

According to here: http://groovy.codehaus.org/Compiler+Switching+within+Groovy-Eclipse

+3
source

Source: https://habr.com/ru/post/1396073/


All Articles