无法解析依赖项(Grails / Spring)

时间:2013-10-19 22:53:08

标签: grails dependencies

我正在尝试运行新的Grails项目,我收到此错误

    | Configuring classpath
    | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
    - org.springframework:spring-context:3.2.4.RELEASE
    - org.springframework:spring-tx:3.2.4.RELEASE
    - org.springframework:spring-beans:3.2.4.RELEASE
    - org.springframework:spring-core:3.2.4.RELEASE
    - org.springframework:spring-aspects:3.2.4.RELEASE
    - org.slf4j:jcl-over-slf4j:1.7.5
    - org.slf4j:slf4j-api:1.7.5
    - org.springframework:spring-web:3.2.4.RELEASE
    - org.springframework:spring-expression:3.2.4.RELEASE
    - org.springframework:spring-context-support:3.2.4.RELEASE
    - org.springframework:spring-aop:3.2.4.RELEASE
    - org.aspectj:aspectjweaver:1.7.2
    - asm:asm:3.3.1
    - org.aspectj:aspectjrt:1.7.2
    - cglib:cglib:2.2.2
    - org.springframework:spring-webmvc:3.2.4.RELEASE
    - org.springframework:spring-jdbc:3.2.4.RELEASE

我正在使用sts IDE ......我做错了什么?

1 个答案:

答案 0 :(得分:1)

不确定STS问题 - 我的一个建议是尝试在命令提示符下运行grails run-app。这应该将所有依赖项正确地下载到您的文件系统上,然后希望STS也会选择它们。

相关问题