簡體   English   中英

Grails-無法解決依賴關系

[英]Grails - unable to resolve dependencies

在計算機上安裝了Grails 2.3.7的新副本(舊項目需要),並嘗試創建示例應用程序以進行測試,但我無法解決許多依賴關系

>>>> org.grails.plugins:scaffolding:2.0.2
>>>> org.grails.plugins:cache:1.1.1
>>>> org.grails.plugins:hibernate:3.6.10.9
>>>> org.grails.plugins:database-migration:1.3.8
>>>> org.grails.plugins:jquery:1.11.0.2
>>>> org.grails.plugins:resources:1.2.7
>>>> org.grails.plugins:tomcat:7.0.52.1

嘗試了其他兩個2.xx版本,並遇到了相同的問題……我意識到最新版本是3.xx,但是對舊版本的支持已完全刪除了?

我的build.config看起來像..

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

    mavenRepo "http://repo.grails.org/grails/core"
    mavenRepo "http://repo.grails.org/grails/plugins"

有什么感動嗎?

謝謝

repo.grails.org上的Artifactory回購已關閉(您會看到它重定向到https://repo.grails.org/grails/webapp/#/home並僅以空白頁停在那里),並且正在查找,但是還沒有到達目的地的時間。 過去已經發生過幾次,可能要花幾個小時才能再次使用,但總時間不應超過一天。

maven.org倉庫對我來說是可靠的。 將其作為第一個,甚至唯一的一個mavenRepo:

mavenRepo 'http://repo1.maven.org/maven2/'

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM