I recently updated a Grails app to 2.1.0, but when I war
the project I get the following error:
java.lang.NoClassDefFoundError: org/codehaus/groovy/transform/powerassert/ValueRecorder
Are these two versions compatible?
No. Grails 1.3.x uses Groovy 1.7, Grails 2.0.x and 2.1.x use Groovy 1.8, Grails 2.2 uses Groovy 2.0 and Grails 2.3 will use Groovy 2.1. You should probably do a grails dependency-report
to see what is pulling in Groovy 1.7, and put the appropriate excludes in your BuildConfig
dependency declarations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With