1. in BuildConfig.groovy, add:
compile ':spring-security-core:2.0-RC2'and maven repository:
mavenRepo 'http://repo.spring.io/milestone'
note: if not set this maven repository, you will get error:
org.springframework.security#spring-security-core;3.2.0.RC1: not found
2. run
$ grails compilenote: if skip this step you will get error:
Error org.codehaus.groovy.grails.cli.ScriptNotFoundException
3. then run
$ grails s2-quickstart com.testapp User Role4. done.
No comments:
Post a Comment