n92
n92

Reputation: 7592

ERROR springsecurity.ReflectionUtils - Your security configuration settings use the old prefix 'grails.plugins.springsecurity'

I have migrated to grails 2.5.0 from 2.3.7 and i have the dependency on
compile ":spring-security-core:2.0-RC5"

i replaced all the occurrences of grails.plugins.springsecurity with 'grails.plugin.springsecurity but i am still getting an error as below:

Error |
    2015-07-30 17:26:30,191 [main] 
ERROR springsecurity.ReflectionUtils  - Your security configuration settings use the old prefix 'grails.plugins.springsecurity' but must now use 'grails.plugin.springsecurity'

How to resolve this issue.

Upvotes: 3

Views: 1017

Answers (3)

lightning mcqueen
lightning mcqueen

Reputation: 173

In Config.groovy change the line

grails.plugins.springsecurity

to grails.plugin.springsecurity

Upvotes: 1

Raj
Raj

Reputation: 936

If you have removed all occurrences of grails.plugins.springsecurity, then you may have to check for any DSL style declarations too - like grails { plugins { springsecurity .....

Upvotes: 0

user2516554
user2516554

Reputation: 1

Stopping and starting the app again worked for me.

Could you please do the same and try?

Thanks, Vamshi

Upvotes: 0

Related Questions