gpt4 book ai didi

grails - Grails 2.4.0错误解决依赖项

转载 作者:行者123 更新时间:2023-12-02 14:43:15 25 4
gpt4 key购买 nike

我收到此依赖项错误,我一无所知。我非常感谢任何建议。谢谢。

我已经以新用户身份登录,因此用户主目录下没有.m2 / .grails目录。使用grails 2.4。

使用cretae-app命令创建了一个新应用。更新了BuildConfig.groovy以添加插件。 BuildConfig看起来像这样:

grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.work.dir = "target/work"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.fork = [
// configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
// compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],

// configure settings for the test-app JVM, uses the daemon by default
test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
// configure settings for the run-app JVM
run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
// configure settings for the run-war JVM
war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
// configure settings for the Console UI JVM
console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
]

grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// specify dependency exclusions here; for example, uncomment this to disable ehcache:
// excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve
legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility

repositories {
inherits true // Whether to inherit repository definitions from plugins

grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
}

dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
// runtime 'mysql:mysql-connector-java:5.1.29'
// runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'

compile "org.springframework:spring-orm:$springVersion"
}

plugins {
// plugins for the build system only
build ":tomcat:7.0.53"

// plugins for the compile step
compile ":scaffolding:2.1.0"
compile ':cache:1.1.6'
compile ":asset-pipeline:1.8.7"

// plugins needed at runtime but not for compilation
runtime ":hibernate4:4.3.5.3" // or ":hibernate:3.6.10.15"
runtime ":database-migration:1.4.0"
runtime ":jquery:1.11.1"

runtime ":jquery:1.11.1"
runtime ":resources:1.2.8"
runtime ":cached-resources:1.0"
runtime ":zipped-resources:1.0"
runtime ":yui-minify-resources:0.1.5"
runtime ":spring-security-core:3.2.4.RELEASE"

compile ":cache-headers:1.1.7"

}
}

现在运行grails编译命令。它下载了很多东西,但最终因错误而失败:
| Error Resolve error obtaining dependencies: Could not find artifact org.grails
.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.gr
ails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Resolve error obtaining dependencies: Could not find artifact org.grails
.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.gr
ails.org/grails/plugins) (Use --stacktrace to see the full trace)
| Error Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.
4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins)
| Run 'grails dependency-report' for further information.

然依赖报告,这是:
|Loading Grails 2.4.0
|Configuring classpath
Error |
Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins)
|Run 'grails dependency-report' for further information.
Error |
Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins)
|Run 'grails dependency-report' for further information.
.
|Environment set to development
.
build - Dependencies for the build system only (total: 32)
+--- xalan:serializer:2.7.1
+--- org.grails:grails-bootstrap:2.4.0
| \--- org.slf4j:jcl-over-slf4j:1.7.5
| \--- org.slf4j:slf4j-api:1.7.5
| \--- org.apache.ant:ant:1.8.4
| \--- jline:jline:2.11
| \--- org.apache.ant:ant-launcher:1.8.4
| \--- org.apache.ant:ant-trax:1.7.1
| \--- net.java.dev.jna:jna:4.0.0
| \--- org.apache.ant:ant-junit:1.8.4
| \--- org.codehaus.gant:gant_groovy1.8:1.9.6
| \--- org.apache.ivy:ivy:2.3.0
| \--- org.fusesource.jansi:jansi:1.11
+--- org.grails:grails-project-api:2.4.0
+--- org.grails:grails-scripts:2.4.0
+--- org.grails:grails-docs:2.4.0
| \--- org.xhtmlrenderer:core-renderer:R8
| \--- org.yaml:snakeyaml:1.8
| \--- org.grails:grails-gdoc-engine:1.0.1
| \--- org.jsoup:jsoup:1.7.3
| \--- com.lowagie:itext:2.0.8
| \--- bouncycastle:bcmail-jdk14:138
| \--- bouncycastle:bcprov-jdk14:138
| \--- commons-lang:commons-lang:2.6
+--- org.grails.plugins:tomcat:7.0.53
| \--- org.apache.tomcat:tomcat-catalina-ant:7.0.53
| \--- org.apache.tomcat.embed:tomcat-embed-jasper:7.0.53
| \--- org.apache.tomcat.embed:tomcat-embed-el:7.0.53
| \--- org.apache.tomcat.embed:tomcat-embed-logging-log4j:7.0.53
| \--- org.apache.tomcat.embed:tomcat-embed-websocket:7.0.53
| \--- org.eclipse.jdt.core.compiler:ecj:3.7.2
| \--- org.apache.tomcat.embed:tomcat-embed-core:7.0.53


provided - Dependencies needed at development time, but not during deployment (total: 1)
+--- javax.servlet:javax.servlet-api:3.0.1


compile - Dependencies placed on the classpath for compilation (total: 75)
+--- org.codehaus.groovy:groovy-all:2.3.1
+--- org.grails:grails-plugin-rest:2.4.0
| \--- org.grails:grails-plugin-controllers:2.4.0
| \--- org.grails:grails-plugin-validation:2.4.0
| \--- org.slf4j:jcl-over-slf4j:1.7.5
| \--- org.grails:grails-plugin-datasource:2.4.0
| \--- org.apache.tomcat:tomcat-jdbc:7.0.50
| \--- org.apache.tomcat:tomcat-juli:7.0.50
| \--- org.springframework:spring-context:4.0.5.RELEASE
| \--- org.springframework:spring-aop:4.0.5.RELEASE
| \--- org.springframework:spring-expression:4.0.5.RELEASE
| \--- org.slf4j:slf4j-api:1.7.5
| \--- org.grails:grails-web:2.4.0
| \--- org.grails:grails-web-gsp:2.4.0
| \--- org.grails:grails-web-databinding:2.4.0
| \--- org.grails:grails-databinding:2.4.0
| \--- org.grails:grails-web-sitemesh:2.4.0
| \--- opensymphony:sitemesh:2.4
| \--- org.grails:grails-web-mvc:2.4.0
| \--- org.grails:grails-web-jsp:2.4.0
| \--- org.grails:grails-web-common:2.4.0
| \--- org.springframework:spring-webmvc:4.0.5.RELEASE
| \--- org.springframework:spring-context-support:4.0.5.RELEASE
| \--- org.grails:grails-web-url-mappings:2.4.0
| \--- org.grails:grails-web-fileupload:2.4.0
| \--- commons-fileupload:commons-fileupload:1.3.1
| \--- commons-io:commons-io:2.2
| \--- com.google.code.gson:gson:2.2.4
+--- org.grails:grails-plugin-databinding:2.4.0
| \--- org.grails:grails-core:2.4.0
| \--- org.grails:grails-bootstrap:2.4.0
| \--- org.grails:grails-spring:2.4.0
| \--- aopalliance:aopalliance:1.0
| \--- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final
+--- org.grails:grails-plugin-i18n:2.4.0
| \--- commons-lang:commons-lang:2.6
+--- org.grails:grails-plugin-filters:2.4.0
+--- org.grails:grails-plugin-gsp:2.4.0
| \--- org.grails:grails-logging:2.4.0
| \--- org.grails:grails-plugin-codecs:2.4.0
| \--- commons-codec:commons-codec:1.6
| \--- org.grails:grails-encoder:2.4.0
| \--- org.springframework:spring-web:4.0.5.RELEASE
+--- org.grails:grails-plugin-log4j:2.4.0
| \--- org.slf4j:jul-to-slf4j:1.7.5
+--- org.grails:grails-plugin-services:2.4.0
| \--- org.springframework:spring-tx:4.0.5.RELEASE
+--- org.grails:grails-plugin-servlets:2.4.0
+--- org.grails:grails-plugin-url-mappings:2.4.0
| \--- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4
| \--- org.grails:grails-validation:2.4.0
| \--- commons-validator:commons-validator:1.4.0
+--- org.grails:grails-plugin-async:2.4.0
| \--- org.grails:grails-async:2.4.0
| \--- org.codehaus.gpars:gpars:1.2.0
| \--- org.codehaus.jsr166-mirror:jsr166y:1.7.0
+--- org.springframework:spring-orm:4.0.5.RELEASE
| \--- org.springframework:spring-beans:4.0.5.RELEASE
| \--- org.springframework:spring-core:4.0.5.RELEASE
| \--- commons-logging:commons-logging:1.1.3
| \--- org.springframework:spring-jdbc:4.0.5.RELEASE
+--- org.grails.plugins:scaffolding:2.1.0
+--- org.grails.plugins:cache:1.1.6
| \--- cglib:cglib-nodep:2.2.2
| \--- org.grails.plugins:webxml:1.4.1
+--- org.grails.plugins:asset-pipeline:1.8.7
+--- org.grails.plugins:cache-headers:1.1.7

Error
|
Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins) (scope: runtime) (Use --stacktrace to see the full trace)

runtime - Dependencies needed at runtime but not for compilation (total: 108)
+--- org.codehaus.groovy:groovy-all:2.3.1
+--- org.grails:grails-plugin-rest:2.4.0
| \--- org.grails:grails-plugin-controllers:2.4.0
| \--- org.grails:grails-plugin-validation:2.4.0
| \--- org.slf4j:jcl-over-slf4j:1.7.5
| \--- org.grails:grails-plugin-datasource:2.4.0
| \--- org.apache.tomcat.embed:tomcat-embed-logging-log4j:7.0.50
| \--- org.apache.tomcat:tomcat-jdbc:7.0.50
| \--- org.apache.tomcat:tomcat-juli:7.0.50
| \--- org.springframework:spring-context:4.0.5.RELEASE
| \--- org.springframework:spring-aop:4.0.5.RELEASE
| \--- org.springframework:spring-expression:4.0.5.RELEASE
| \--- org.slf4j:slf4j-api:1.7.5
| \--- org.grails:grails-web:2.4.0
| \--- org.grails:grails-web-gsp:2.4.0
| \--- org.grails:grails-web-databinding:2.4.0
| \--- org.grails:grails-databinding:2.4.0
| \--- org.grails:grails-web-sitemesh:2.4.0
| \--- opensymphony:sitemesh:2.4
| \--- org.grails:grails-web-mvc:2.4.0
| \--- org.springframework:spring-aspects:4.0.5.RELEASE
| \--- org.grails:grails-web-jsp:2.4.0
| \--- org.aspectj:aspectjweaver:1.8.0
| \--- org.grails:grails-web-common:2.4.0
| \--- org.springframework:spring-webmvc:4.0.5.RELEASE
| \--- org.springframework:spring-context-support:4.0.5.RELEASE
| \--- org.aspectj:aspectjrt:1.8.0
| \--- org.grails:grails-web-url-mappings:2.4.0
| \--- org.grails:grails-web-fileupload:2.4.0
| \--- commons-fileupload:commons-fileupload:1.3.1
| \--- commons-io:commons-io:2.2
| \--- com.google.code.gson:gson:2.2.4
+--- org.grails:grails-plugin-databinding:2.4.0
| \--- org.grails:grails-core:2.4.0
| \--- org.grails:grails-bootstrap:2.4.0
| \--- xalan:serializer:2.7.1
| \--- org.grails:grails-spring:2.4.0
| \--- aopalliance:aopalliance:1.0
| \--- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final
+--- org.grails:grails-plugin-i18n:2.4.0
| \--- commons-lang:commons-lang:2.6
+--- org.grails:grails-plugin-filters:2.4.0
+--- org.grails:grails-plugin-gsp:2.4.0
| \--- org.grails:grails-logging:2.4.0
| \--- org.grails:grails-plugin-codecs:2.4.0
| \--- commons-codec:commons-codec:1.6
| \--- org.grails:grails-encoder:2.4.0
| \--- org.springframework:spring-web:4.0.5.RELEASE
+--- org.grails:grails-plugin-log4j:2.4.0
| \--- org.slf4j:jul-to-slf4j:1.7.5
+--- org.grails:grails-plugin-services:2.4.0
| \--- org.springframework:spring-tx:4.0.5.RELEASE
+--- org.grails:grails-plugin-servlets:2.4.0
+--- org.grails:grails-plugin-url-mappings:2.4.0
| \--- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4
| \--- org.grails:grails-validation:2.4.0
| \--- commons-validator:commons-validator:1.4.0
+--- org.grails:grails-plugin-async:2.4.0
| \--- org.grails:grails-async:2.4.0
| \--- org.codehaus.gpars:gpars:1.2.0
| \--- org.codehaus.jsr166-mirror:jsr166y:1.7.0
+--- com.h2database:h2:1.3.173
+--- log4j:log4j:1.2.17
+--- org.grails:grails-resources:2.4.0
+--- org.springframework:spring-orm:4.0.5.RELEASE
| \--- org.springframework:spring-beans:4.0.5.RELEASE
| \--- org.springframework:spring-core:4.0.5.RELEASE
| \--- commons-logging:commons-logging:1.1.3
| \--- org.springframework:spring-jdbc:4.0.5.RELEASE
+--- org.grails.plugins:scaffolding:2.1.0
+--- org.grails.plugins:cache:1.1.6
| \--- cglib:cglib-nodep:2.2.2
| \--- org.grails.plugins:webxml:1.4.1
+--- org.grails.plugins:asset-pipeline:1.8.7
| \--- org.mozilla:rhino:1.7R4
+--- org.grails.plugins:hibernate4:4.3.5.3
| \--- org.hibernate:hibernate-ehcache:4.3.5.Final
| \--- org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1
| \--- org.hibernate:hibernate-core:4.3.5.Final
| \--- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final
| \--- antlr:antlr:2.7.7
| \--- org.jboss:jandex:1.1.0.Final
| \--- org.hibernate:hibernate-validator:5.0.3.Final
| \--- com.fasterxml:classmate:1.0.0
| \--- net.sf.ehcache:ehcache-core:2.4.8
| \--- org.jboss.logging:jboss-logging:3.1.0.GA
| \--- org.grails:grails-datastore-core:3.1.0.RELEASE
| \--- org.javassist:javassist:3.17.1-GA
| \--- javax.transaction:jta:1.1
| \--- org.grails:grails-datastore-gorm:3.1.0.RELEASE
| \--- org.grails:grails-datastore-gorm-hibernate4:3.1.0.RELEASE
| \--- org.hibernate.common:hibernate-commons-annotations:4.0.4.Final
| \--- org.grails:grails-datastore-gorm-hibernate-core:3.1.0.RELEASE
| \--- org.grails:grails-datastore-gorm-plugin-support:3.1.0.RELEASE
| \--- dom4j:dom4j:1.6.1
| \--- org.grails:grails-datastore-simple:3.1.0.RELEASE
| \--- javax.validation:validation-api:1.1.0.Final
+--- org.grails.plugins:database-migration:1.4.0
| \--- org.liquibase:liquibase-core:2.0.5
+--- org.grails.plugins:jquery:1.11.1
+--- org.grails.plugins:resources:1.2.8
+--- org.grails.plugins:cached-resources:1.0
+--- org.grails.plugins:zipped-resources:1.0
+--- org.grails.plugins:yui-minify-resources:0.1.5
+--- org.grails.plugins:spring-security-core:3.2.4.RELEASE
+--- org.grails.plugins:cache-headers:1.1.7

Error |
Could not find artifact org.grails.plugins:spring-security-core:zip:3.2.4.RELEASE in grailsCentral (http://repo.grails.org/grails/plugins) (scope: test) (Use --stacktrace to see the full trace)

test - Dependencies needed for test compilation and execution but not at runtime (total: 122)
+--- javax.servlet:javax.servlet-api:3.0.1
+--- org.codehaus.groovy:groovy-all:2.3.1
+--- org.grails:grails-plugin-rest:2.4.0
| \--- org.grails:grails-plugin-controllers:2.4.0
| \--- org.grails:grails-plugin-validation:2.4.0
| \--- org.slf4j:jcl-over-slf4j:1.7.5
| \--- org.grails:grails-plugin-datasource:2.4.0
| \--- org.apache.tomcat.embed:tomcat-embed-logging-log4j:7.0.50
| \--- org.apache.tomcat:tomcat-jdbc:7.0.50
| \--- org.apache.tomcat:tomcat-juli:7.0.50
| \--- org.springframework:spring-context:4.0.5.RELEASE
| \--- org.springframework:spring-aop:4.0.5.RELEASE
| \--- org.springframework:spring-expression:4.0.5.RELEASE
| \--- org.slf4j:slf4j-api:1.7.5
| \--- org.grails:grails-web:2.4.0
| \--- org.grails:grails-web-gsp:2.4.0
| \--- org.grails:grails-web-databinding:2.4.0
| \--- org.grails:grails-databinding:2.4.0
| \--- org.grails:grails-web-sitemesh:2.4.0
| \--- opensymphony:sitemesh:2.4
| \--- org.grails:grails-web-mvc:2.4.0
| \--- org.springframework:spring-aspects:4.0.5.RELEASE
| \--- org.grails:grails-web-jsp:2.4.0
| \--- org.aspectj:aspectjweaver:1.8.0
| \--- org.grails:grails-web-common:2.4.0
| \--- org.springframework:spring-webmvc:4.0.5.RELEASE
| \--- org.springframework:spring-context-support:4.0.5.RELEASE
| \--- org.aspectj:aspectjrt:1.8.0
| \--- org.grails:grails-web-url-mappings:2.4.0
| \--- org.grails:grails-web-fileupload:2.4.0
| \--- commons-fileupload:commons-fileupload:1.3.1
| \--- commons-io:commons-io:2.2
| \--- com.google.code.gson:gson:2.2.4
+--- org.grails:grails-plugin-databinding:2.4.0
| \--- org.grails:grails-core:2.4.0
| \--- org.grails:grails-bootstrap:2.4.0
| \--- xalan:serializer:2.7.1
| \--- org.grails:grails-spring:2.4.0
| \--- aopalliance:aopalliance:1.0
| \--- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final
+--- org.grails:grails-plugin-i18n:2.4.0
| \--- commons-lang:commons-lang:2.6
+--- org.grails:grails-plugin-filters:2.4.0
+--- org.grails:grails-plugin-gsp:2.4.0
| \--- org.grails:grails-logging:2.4.0
| \--- org.grails:grails-plugin-codecs:2.4.0
| \--- commons-codec:commons-codec:1.6
| \--- org.grails:grails-encoder:2.4.0
| \--- org.springframework:spring-web:4.0.5.RELEASE
+--- org.grails:grails-plugin-log4j:2.4.0
| \--- org.slf4j:jul-to-slf4j:1.7.5
+--- org.grails:grails-plugin-services:2.4.0
| \--- org.springframework:spring-tx:4.0.5.RELEASE
+--- org.grails:grails-plugin-servlets:2.4.0
+--- org.grails:grails-plugin-url-mappings:2.4.0
| \--- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4
| \--- org.grails:grails-validation:2.4.0
| \--- commons-validator:commons-validator:1.4.0
+--- org.grails:grails-plugin-async:2.4.0
| \--- org.grails:grails-async:2.4.0
| \--- org.codehaus.gpars:gpars:1.2.0
| \--- org.codehaus.jsr166-mirror:jsr166y:1.7.0
+--- org.grails:grails-plugin-testing:2.4.0
| \--- org.grails:grails-test:2.4.0
| \--- org.objenesis:objenesis:1.4
| \--- org.grails:grails-project-api:2.4.0
| \--- org.apache.ant:ant:1.8.4
| \--- org.apache.ant:ant-launcher:1.8.4
| \--- jline:jline:2.11
| \--- org.codehaus.gant:gant_groovy1.8:1.9.6
| \--- org.fusesource.jansi:jansi:1.11
| \--- org.grails:grails-plugin-domain-class:2.4.0
| \--- org.springframework:spring-test:4.0.5.RELEASE
| \--- org.grails:grails-plugin-mimetypes:2.4.0
| \--- org.grails:grails-plugin-converters:2.4.0
+--- org.spockframework:spock-core:0.7-groovy-2.0
| \--- org.hamcrest:hamcrest-core:1.3
+--- junit:junit:4.11
+--- com.h2database:h2:1.3.173
+--- log4j:log4j:1.2.17
+--- org.grails:grails-resources:2.4.0
+--- org.springframework:spring-orm:4.0.5.RELEASE
| \--- org.springframework:spring-beans:4.0.5.RELEASE
| \--- org.springframework:spring-core:4.0.5.RELEASE
| \--- commons-logging:commons-logging:1.1.3
| \--- org.springframework:spring-jdbc:4.0.5.RELEASE
+--- org.grails.plugins:scaffolding:2.1.0
+--- org.grails.plugins:cache:1.1.6
| \--- cglib:cglib-nodep:2.2.2
| \--- org.grails.plugins:webxml:1.4.1
+--- org.grails.plugins:asset-pipeline:1.8.7
| \--- org.mozilla:rhino:1.7R4
+--- org.grails.plugins:hibernate4:4.3.5.3
| \--- org.hibernate:hibernate-ehcache:4.3.5.Final
| \--- org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1
| \--- org.hibernate:hibernate-core:4.3.5.Final
| \--- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final
| \--- antlr:antlr:2.7.7
| \--- org.jboss:jandex:1.1.0.Final
| \--- org.hibernate:hibernate-validator:5.0.3.Final
| \--- com.fasterxml:classmate:1.0.0
| \--- net.sf.ehcache:ehcache-core:2.4.8
| \--- org.jboss.logging:jboss-logging:3.1.0.GA
| \--- org.grails:grails-datastore-core:3.1.0.RELEASE
| \--- org.javassist:javassist:3.17.1-GA
| \--- javax.transaction:jta:1.1
| \--- org.grails:grails-datastore-gorm:3.1.0.RELEASE
| \--- org.grails:grails-datastore-gorm-hibernate4:3.1.0.RELEASE
| \--- org.hibernate.common:hibernate-commons-annotations:4.0.4.Final
| \--- org.grails:grails-datastore-gorm-hibernate-core:3.1.0.RELEASE
| \--- org.grails:grails-datastore-gorm-plugin-support:3.1.0.RELEASE
| \--- dom4j:dom4j:1.6.1
| \--- org.grails:grails-datastore-simple:3.1.0.RELEASE
| \--- javax.validation:validation-api:1.1.0.Final
+--- org.grails.plugins:database-migration:1.4.0
| \--- org.liquibase:liquibase-core:2.0.5
+--- org.grails.plugins:jquery:1.11.1
+--- org.grails.plugins:resources:1.2.8
+--- org.grails.plugins:cached-resources:1.0
+--- org.grails.plugins:zipped-resources:1.0
+--- org.grails.plugins:yui-minify-resources:0.1.5
+--- org.grails.plugins:spring-security-core:3.2.4.RELEASE
+--- org.grails.plugins:cache-headers:1.1.7

最佳答案

没有3.2.4.RELEASEspring-security-core版本,因此出现错误。您可能将Spring Security的版本与Spring Security插件的版本混淆了。有关插件的版本,请参见http://repo.grails.org/grails/plugins/org/grails/plugins/spring-security-core/

关于grails - Grails 2.4.0错误解决依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24317604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com