سؤال

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?

هل كانت مفيدة؟

المحلول

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

repositories {
  mavenRepo "http://repo.spring.io/milestone/"
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top