简体   繁体   中英

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

Vahid is right..

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

It should work!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM