0

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?

saw303
  • 8,051
  • 7
  • 50
  • 90

1 Answers1

0

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

repositories {
  mavenRepo "http://repo.spring.io/milestone/"
}
davydotcom
  • 2,170
  • 1
  • 16
  • 18
  • That adds spring securit but I stil have an error : Error 2014-05-15 14:48:33,891 [http-bio-8080-exec-5] ERROR [/dipl].[default] - Servlet.service() for servlet [default] in context with path [/dipl] threw exception. And it says that the build path is incomplete – user3569696 May 15 '14 at 21:10