Closed GoogleCodeExporter closed 9 years ago
The strange thing about this is I have an application created a few weeks ago
using
Grails 1.2.1 + Spock plugin 0.4-SNAPSHOT and it works OK. However when I try to
create
a new application I always get the error I reported.
Original comment by robok...@gmail.com
on 17 Mar 2010 at 12:43
This error occurs if the latest snapshot version of the Grails Spock plugin is
used together with an outdated
version of spock-core. Grails/Ivy should download the latest spock-core version
automatically, but it doesn't
(see http://jira.codehaus.org/browse/GRAILS-5624). Please search for
"spock-core-0.4-SNAPSHOT.jar" on your
machine and delete the directory it is contained in. (If you find multiple
occurrences, delete all of them.) The
correct spock-core version should be downloaded the next time you build your
project.
Please give us feedback if this solves your problem. The good news is that 0.4
final, scheduled for end of March,
won't have this problem because only snapshots are affected.
Original comment by pnied...@gmail.com
on 17 Mar 2010 at 2:33
Original comment by pnied...@gmail.com
on 17 Mar 2010 at 2:34
Problem solved as you suggested. I tried deleting ~/.grails before to get rid
of
downloaded jars, but it was ~/.ivy2 I needed to cleanup.
Thanks!
Original comment by robok...@gmail.com
on 17 Mar 2010 at 4:00
Glad to hear that cleaning the Ivy cache solved the problem.
Original comment by pnied...@gmail.com
on 18 Mar 2010 at 5:16
Original issue reported on code.google.com by
robok...@gmail.com
on 17 Mar 2010 at 12:34Attachments: