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

时间:2014-03-24 19:28:23

标签: grails

安装Java和Grails,设置GRAILS_HOME,JAVA_HOME和Path变量。已安装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. 
|

1 个答案:

答案 0 :(得分:1)

我曾经遇到类似于你的问题的东西,并且通过恩典,我连接到互联网并想到了实现。

请参阅this link我相信它会有所帮助。

相关问题