While migrating a legacy application to spring security I got the following exception:
org.springframework.beans.factory.BeanCreationException: Error creatin
This might also help:
http://forum.springsource.org/showthread.php?96391-Spring-Security-Plug-in-ROLE_-prefix-mandatory
Bassically, it says you have to write in grails-app/conf/spring/resources.groovy:
roleVoter(org.springframework.security.access.vote.RoleVoter) {
rolePrefix = ''
}
It worked for me.