groovydev / twitter-bootstrap-grails-plugin

Grails plugin for Twitter Bootstrap CSS framework resources
173 stars 92 forks source link

Add compatibility with Grails 2.4.0 #106

Closed okelet closed 10 years ago

okelet commented 10 years ago

When running an app after upgrading to Grails 2.4.0, I get this error:

| Error Error loading event script from file [/home/XXXXXXXX/target/work/plugins/twitter-bootstrap-3.1.1/scripts/_Events.groovy] startup failed:
/home/XXXXXXX/target/work/plugins/twitter-bootstrap-3.1.1/scripts/_Events.groovy: 1: unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder
 @ line 1, column 1.
   import org.codehaus.groovy.grails.commons.ApplicationHolder
   ^

The error is caused by the removal of Static Holder Classes, as documented in http://grails.org/doc/2.4.0/guide/upgradingFrom23.html.

legart commented 10 years ago

You can upgrade to the just released version 3.1.1.2