使用GGTS插件创建新的Grails项目- GGTS/STS/Eclipse出错



已安装Java和Grails,设置GRAILS_HOME、JAVA_HOME和Path变量。安装了GGTS,当尝试创建一个新的Grails项目时,我得到以下错误:

The command 'C:Program FilesJavajdk1.7.0_51binjavaw.exe (Mar 24, 2014, 1:59:29 PM)' was terminated because it didn't produce new output for some time.
See details for the output produced so far.
If you think the command simply needed more time, you can increase the time limit in the Grails preferences page.
See menu Windows >> Preferences >> Grails >> Launch
Command: C:Program FilesJavajdk1.7.0_51binjavaw.exe (Mar 24, 2014, 1:59:29 PM)
---- System.out ----
| Loading Grails 2.2.4
| Configuring classpath
---- System.err ----
Terminating process: Timeout: no new output for 180000 milliseconds
------System.out:-----------
 | Loading Grails 2.2.4
| Configuring classpath
------System.err:-----------
Terminating process: Timeout: no new output for 180000 milliseconds

尝试使用Eclipse + GGTS插件,仍然有相同的问题。从命令行创建新项目没有问题。从命令行创建一个新的Grails项目,然后将该项目导入工作空间,当尝试创建一个新的控制器时,抛出相同的错误。不确定其他人是否有同样的问题。

GGTS是否足够成熟?有别的选择吗?

OK,现在我关闭IDE并从命令行尝试。我手动设置了代理设置,因为"set proxy"命令不更新ProxySettings文件。从命令行我可以创建一个新项目,当我尝试编译时,我得到这个…

| Error Resolve error obtaining dependencies: Failed to read artifact descriptor
 for org.grails:grails-docs:jar:2.3.7 (Use --stacktrace to see the full trace)
| Error Required Grails build dependencies were not found. 
This is normally due to internet connectivity issues (such as a misconfigured proxy)
 or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your
 configuration to continue. 
|

我曾经遇到过类似的问题,幸亏我上网了,才恍然大悟。

请看看这个链接,我相信它会有帮助。

最新更新