gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 15:29:08 25 4
gpt4 key购买 nike

安装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项目,然后将该项目导入到工作区中,当试图创建一个新的 Controller 时,会引发相同的错误。不知道其他人是否有相同的问题。

GGTS是否足够成熟?还有其他选择吗?

好,现在我关闭我的IDE并从命令行尝试。
我已经手动设置了代理设置,因为“设置代理”命令不会更新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.
|

最佳答案

我曾经遇到过与您的问题类似的事情,并且由于宽限期,我连接到互联网并想到了实现。

请参阅this link,肯定会有所帮助。

关于grails - 使用GGTS插件创建新的Grails项目时出错-GGTS/STS/Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22618817/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com