安装Java和Grails,设置GRAILS_HOME、JAVA_HOME和路径变量。安装了GGTS,当尝试创建一个新的Grails项目时,我会得到以下错误。
The command 'C:\Program Files\Java\jdk1.7.0_51\bin\javaw.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 Files\Java\jdk1.7.0_51\bin\javaw.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够成熟吗?还有别的选择吗?
好的,现在我关闭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.
|发布于 2014-04-02 15:15:46
我曾经遇到类似于你的问题,通过优雅,我连接到互联网并意识到。
请看this link,我相信它会有帮助的。
https://stackoverflow.com/questions/22618817
复制相似问题