Grails spring安全核心插件安装从未完成
使用Grails1.3.7 视窗7 我已经在一个全新的grails项目上尝试过这一点……尽管我在系统上安装了其他grails版本(但不再在PATH中) 在执行grails安装插件spring security core时,安装从未完成,这给我留下了以下从未完成的问题:Grails spring安全核心插件安装从未完成,grails,spring-security,Grails,Spring Security,使用Grails1.3.7 视窗7 我已经在一个全新的grails项目上尝试过这一点……尽管我在系统上安装了其他grails版本(但不再在PATH中) 在执行grails安装插件spring security core时,安装从未完成,这给我留下了以下从未完成的问题: 发展环境 解析插件spring安全内核。请稍候。。。 。。。。 下载: framework/security/org.springframework.security.core/3.0.4.RELEASE/org.spring
发展环境 解析插件spring安全内核。请稍候。。。 。。。。 下载: framework/security/org.springframework.security.core/3.0.4.RELEASE/org.springfra mework.security.core-3.0.4.RELEASE.pom。。。 下载完整。 下载: 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'
}
}
SpringSecurityV1.1插件会导致一些问题。 我安装了v1.0.1版本
grails install-plugin spring-security-core 1.0.1
为我工作请发布BuildConfig.groovy的内容