2013-10-19 60 views
0

我试图运行一个新的Grails项目,我得到这个错误无法解析的依赖关系(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

不知道STS问题 - 我有一个建议是尝试让grails run-app在命令提示符下运行。那应该把所有的依赖关系正确地下载到你的文件系统上,然后希望STS也能选择它们。