3

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.

n92
  • 7,424
  • 27
  • 93
  • 129

3 Answers3

1

In Config.groovy change the line

grails.plugins.springsecurity

to grails.plugin.springsecurity

lightning mcqueen
  • 163
  • 1
  • 1
  • 10
0

Stopping and starting the app again worked for me.

Could you please do the same and try?

Thanks, Vamshi

0

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 .....

Raj
  • 778
  • 1
  • 10
  • 14