2012-10-26 139 views
0

我試圖安裝插件之後向http://grails.org/plugin/oauth我的新Grails工程,但每一次我嘗試instail我正在剛開以下錯誤的Grails的OAuth插件無法安裝

D:\MyProjects\Grails\grails48>grails install-plugin oauth 2.1.0 
| Resolving plugin oauth. Please wait... 
:: problems summary :: 
:::: ERRORS 
    Server access Error: Connection timed out: connect url=http://grails.org/plugins/grails-oauth/tags/RELEASE_2_1_0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://grails.org/plugins/grails-oauth/tags/RELEASE_2_1_0/grails-oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://repo.grails.org/grails/core/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://repo.grails.org/grails/core/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://snapshots.repository.codehaus.org/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://snapshots.repository.codehaus.org/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://repository.codehaus.org/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://repository.codehaus.org/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://download.java.net/maven/2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://download.java.net/maven/2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://repository.jboss.com/maven2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://repository.jboss.com/maven2/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

    Server access Error: Connection timed out: connect url=http://repo.desirableobjects.co.uk/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.pom 

    Server access Error: Connection timed out: connect url=http://repo.desirableobjects.co.uk/org/grails/plugins/oauth/2.1.0/oauth-2.1.0.zip 

|解析插件時出錯[名稱:oauth,組:org.grails.plugins,版本:2.1.0]。未找到插件。 |插件找不到名稱[OAuth的]和版本[2.1.0]

+0

是你在網上或離線?似乎像Grails不能解決依賴關係 – aldrin

+0

我在線我在防火牆內,但我也設置代理。我嘗試檢查這些url,但在這些url中沒有找到插件jar! – Rajmahendra

+0

請注意,您通常不應該再使用'grails install-plugin',而應該使用依賴項DSL [按照oauth插件文檔中的建議](http://aiten.github.com/grails-oauth-scribe/guide /quickStart.html)。 –

回答