On Oct 22, 1:17 pm, Peter Niederwieser <
pnied...@gmail.com> wrote:
> Hi John,
>
> could you run the following script in STS and tell me what the output is? (You might have to remove the spock-core Jar first to get around the IncompatibleVersionsError.)
>
> println org.codehaus.groovy.runtime.InvokerHelper.version
>
> Cheers,
> Peter
>
> On 21.10.2010, at 18:49, JohnMc wrote:
>
>
>
> > Anyone have any idea why I get this error, when running from within
> > STS:
>
> > Caught: org.spockframework.util.IncompatibleVersionsError: The Spock
> > compiler plugin could not run because Spock 0.4.0-groovy-1.7 is not
> > compatible with Groovy 0.0.0. For more information, see
> >
http://versioninfo.spockframework.org
> > Spock location: file://C:/My%20Documents/Downloads/spock-core-0.4-groovy-1.7.jar
> > Groovy location: file:/C:/springsource/sts-2.3.2.RELEASE/plugins/
> > org.codehaus.groovy_1.7.3.20100809-1500-e35/lib/groovy-1.7.3.jar
>
> > Looks like the error is saying it thinks I'm using groovy verion 0.0.0
> > but then it says I'm using 1.7.3? Weird.