【问题标题】:Eclipse with Jrebel: Debugging getting Failed带有 Jrebel 的 Eclipse:调试失败
【发布时间】:2021-09-22 15:25:30
【问题描述】:

我在我的 Eclipse 中安装了带有 Hybris 设置的 Jrebel 插件。我在 local.properties 中设置了 tomcat.debugjavaoptions=-Xverify:none -agentpath:C://jrebel/lib/jrebel64.dll,所以当我在 Eclipse 中调试代码时,出现以下错误留言:

无法连接到远程虚拟机。连接被拒绝。 连接被拒绝:连接 有什么线索吗?

【问题讨论】:

    标签: eclipse hybris jrebel


    【解决方案1】:

    请在您的 local.properties 中添加此属性,然后全部清除并重新启动服务器。

    tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xss16M -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -agentpath:"/plugins/org.zeroturnaround.eclipse.embedder_2021.2.2.RELEASE/ jrebel/lib/jrebel64.dll"

    注意:请更正他的jrebel64.dll文件路径

    【讨论】:

    • 我已经在 local.properties 中添加了两者以使其适用于 eclipse:tomcat.javaoptions=-Xverify:none -agentpath:C://jrebel/lib/jrebel64.dll 和 tomcat.debugjavaoptions= -Xverify:none -agentpath:C://jrebel/lib/jrebel64.dll -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
    猜你喜欢
    • 2016-11-20
    • 1970-01-01
    • 1970-01-01
    • 2022-01-10
    • 1970-01-01
    • 1970-01-01
    • 2019-02-12
    • 2020-02-14
    • 2012-11-16
    相关资源
    最近更新 更多