当尝试创建应用程序时,grails 2.3.6全新安装提供“未解析的依赖项”

时间:2014-02-27 23:12:51

标签: grails

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

Grails版本:2.3.6。

但是,当我在我的开发目录中输入“grails create-app myapp”时,它会给出一条巨大的错误消息,其结尾如下。我已经trebble检查了路径并且GRAILS_HOME是正确的。除非我错过了一个神奇的步骤,否则当前的grails下载会被严重破坏?

我也试过“grails clean”并尝试删除我的用户/ .grails目录,这两者都没有任何区别。

     D:\dev\grails-2.3.6\plugins\grails-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.

1 个答案:

答案 0 :(得分:0)

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