Search code examples
grailsgrails-2.2

How to fix this Grails error?


I'm tried to install spring security core plugin and I have this error:

Loading Grails 2.2.4
| Configuring classpath
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.springframework.security:spring-security-core:3.2.0.RC1
- org.springframework.security:spring-security-web:3.2.0.RC1

How can I fix it?


Solution

  • You need to add the custom snapshot/rc repository to the BuildConfigs repositories block

    repositories {
      mavenRepo "http://repo.spring.io/milestone/"
    }