我遇到了同樣的問題...我只是複製另一個版本,我在 發現我的磁盤插入到我的應用程序的lib文件夾,如下所示:
CP /tmp/yui_2.7.0.zip LIB
CD的lib/
CP yui_2.7.0.zip yui-2.6.0.zip
比我開始Grails的編譯和一切似乎是確定 當我運行三:
個
Grails的升級 的Grails編譯
,它似乎沒有任何抱怨更多...
therbert @郵箱:〜/ grapp/DHC $ Grails的編譯|解決插件JAR
依賴::問題總結:: ::::錯誤
Server access Error: Connection refused url=http://localhost:8081/artifactory/plugins-releases-local/org/grails/plugins/yui/%5B2.6.0,)/yui-%5B2.6.0,).pom
Server access Error: Connection refused url=http://localhost:8081/artifactory/plugins-releases-local/org/grails/plugins/yui/maven-metadata.xml
Server access Error: Connection refused url=http://localhost:8081/artifactory/plugins-releases-local/org/grails/plugins/yui/%5B2.6.0,)/yui-%5B2.6.0,).zip
| Compiling 290 source files Note: Some input files use or override a> deprecated API. Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations. Note:
Recompile with -Xlint:unchecked for details. | Compiling 28 source
files. [email protected]:~/grapp/dhc$ grails upgrade | Environment set to
development.....
>
WARNING: This target will upgrade an older Grails application to 2.1.0.
Are you sure you want to continue?
[y,n] y | Plugin 'hibernate' with version '2.1.0' is already
installed | Plugin 'tomcat' with version '2.1.0' is already
installed | Project upgraded [email protected]:~/grapp/dhc$ grails compile
| Compiling 290 source files Note: Some input files use or override a
deprecated API. Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations. Note:
Recompile with -Xlint:unchecked for details. | Compiling 28 source
files.
您是否嘗試過在grails clean之後調用grails刷新依賴項?如果一切都失敗了,請殺死.grails目錄,並且應該可以正常工作。 –
@tomas是的。兩者都產生了兩個結果,如在未解決的依賴關係中。 – cybertextron