Grails 2.3.6 全新安装可在尝试创建应用程序时提供"unresolved dependencies"



作为一个新的Grails用户,我刚刚下载了grails 2.3.6,解压缩了它,创建了一个名为GRAILS_HOME的env var指向这个目录,然后将%GRAILS_HOME%/bin添加到我的路径(Windows 7 Pro 64位)。 现在,当我打开一个新的命令提示符并键入"grails - version"时,它说:

圣杯版本:2.3.6.

但是,当我在我的开发目录中输入"grails create-app myapp"时,它会给出一个巨大的错误消息,其末尾如下。我已经三重检查了路径,GRAILS_HOME是正确的。 除非我错过了一个神奇的步骤,否则当前的圣杯下载似乎严重损坏了?

我还尝试了"grails clean"并尝试删除我的用户/.grails dir,这两者都没有任何区别。

     D:devgrails-2.3.6pluginsgrails-plugin-url-mappings-2.3.6.jar 
           :::::::::::::::::::::::::::::::::::::::::::::: 
           ::          UNRESOLVED DEPENDENCIES         :: 
           :::::::::::::::::::::::::::::::::::::::::::::: 
           :: org.grails#grails-plugin-rest;2.3.6: not found 
           :: org.grails#grails-plugin-databinding;2.3.6: not found 
           :: org.grails#grails-plugin-i18n;2.3.6: not found 
           :: org.grails#grails-plugin-filters;2.3.6: not found 
           :: org.grails#grails-plugin-gsp;2.3.6: not found 
           :: org.grails#grails-plugin-log4j;2.3.6: not found 
           :: org.grails#grails-plugin-services;2.3.6: not found 
           :: org.grails#grails-plugin-servlets;2.3.6: not found 
           :: org.grails#grails-plugin-url-mappings;2.3.6: not found 
           :::::::::::::::::::::::::::::::::::::::::::::: 

 Error Resolve error obtaining dependencies: Failed to resolve dependencies (Se 
 log level to 'warn' in BuildConfig.groovy for more information): 
 org.grails:grails-plugin-rest:2.3.6 
 org.grails:grails-plugin-databinding:2.3.6 
 org.grails:grails-plugin-i18n:2.3.6 
 org.grails:grails-plugin-filters:2.3.6 
 org.grails:grails-plugin-gsp:2.3.6 
 org.grails:grails-plugin-log4j:2.3.6 
 org.grails:grails-plugin-services:2.3.6 
 org.grails:grails-plugin-servlets:2.3.6 
 org.grails:grails-plugin-url-mappings:2.3.6 
(Use --stacktrace to see the full trace) 
 Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.g 
oovy for more information): 
 org.grails:grails-scripts:2.3.6 

 Run 'grails dependency-report' for further information.

再试一次 - codehaus.org 他们的网站遇到了一些问题,但现在已解决。

相关内容

最新更新