gpt4 book ai didi

grails - GGTS在尝试调试Grails项目时死亡

转载 作者:行者123 更新时间:2023-12-02 16:02:09 24 4
gpt4 key购买 nike

我在Windows 8.1上的Eclipse 4.4.0上将GGTS 3.6.2与Grails 2.4.3一起使用...

当被要求使用“debug as-> run-app”进行调试时,它会在显示以下内容后挂起...

Loading Grails 2.4.3
Configuring classpath.
Environment set to development
.................................
Packaging Grails application
....................................
Running Grails application

终止该过程将给出以下信息:
Loading Grails 2.4.3
Configuring classpath.
Environment set to development
.................................
Packaging Grails application
....................................
Running Grails application
Error
Forked Grails VM exited with error

我根本无法调试任何东西。
问题与Grails 2.4.4,GGTS 3.6.3 / 4和Eclipse 4.4.1相同。

最佳答案

我建议从Eclipse进行远程调试grails应用,效果最好。

在eclipse / ggts中,在端口5005上为“远程Java应用程序”创建调试配置。

使用以下命令从grails控制台(命令提示符)运行grails

grails --debug-fork然后运行

当它说等待在端口5005上连接时,请运行上面刚刚创建的远程调试配置。并且您应该能够调试该应用程序。

关于grails - GGTS在尝试调试Grails项目时死亡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29442537/

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