Grails的弹簧安全核心插件安装无法完成
问题描述:
使用Grails 1.3.7 Windows 7的Grails的弹簧安全核心插件安装无法完成
我已经试过这一个全新的Grails工程......虽然我已经安装在系统上的其他Grails版本(不过在PATH中)。
当执行Grails的安装,插件弹簧安全核心安装无法完成剩下我与从未完成以下:
环境设置为发展 解决插件弹簧的安全核心。请稍候... ....
.... 下载:http://repository.springsource.com/maven/bundles/release/org/spring 框架/安全/ org.springframework.security.core/3.0.4.RELEASE/org.springfra mework.security.core -3.0.4.RELEASE.pom ... 下载完成。 下载:http://repository.springsource.com/maven/bundles/release/org/spring framework/security/org.springframework.security.core/3.0.4.RELEASE/org.springfra mework.security.core-3.0.4.RELEASE.pom.sha1 ... 下载完成。
手动安装以外的任何选项?
我已经删除了.grails和.ivy目录来尝试清理,但仍然没有运气。
加入BuildConfig.groovy:
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.war.file = "target/${appName}-${grails.util.Environment.current.name}-${appVersion}.war"
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// uncomment to disable ehcache
// excludes 'ehcache'
}
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
// uncomment the below to enable remote dependency resolution
// from public Maven repositories
//mavenLocal()
//mavenCentral()
//mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// runtime 'mysql:mysql-connector-java:5.1.13'
}
}
答
春季安全V1.1插件会导致一些问题。 Grails. spring security core. Install problem
我安装的是1.0.1版本
grails install-plugin spring-security-core 1.0.1
工作对我来说
请发表您的BuildConfig.groovy的内容 – 2011-03-02 19:27:41