2013-10-19 59 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也能選擇它們。