Gaurav vijayvargiya
Gaurav vijayvargiya

Reputation: 513

unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder

i had installed the spring security plugin in my application but now i am getting the below error

unable to resolve class org.codehaus.groovy.grails.commons.ApplicationHolder

Upvotes: 4

Views: 6292

Answers (2)

Gaurav vijayvargiya
Gaurav vijayvargiya

Reputation: 513

i got the problem: i just uninstalled the old version of spring plugin which i was using(spring-security-core:1.2.7.3)

then i fire these 2 command:

grails clean

grails refresh-dependencies

Then i installed the spring-security-core:2.0-RC5 plugin

that worked

Upvotes: 2

Kenneth P.
Kenneth P.

Reputation: 53

Vahid is right..

try to change your grailsApplication to Holders.grailsApplication and one more thing.. pluginManager to Holders.pluginManager

It should work!

Upvotes: 5

Related Questions