【问题标题】:Could not find agent library for JRebel找不到 JRebel 的代理库
【发布时间】:2018-08-21 13:19:47
【问题描述】:

我已将正确的 JRebel 路径添加到我的 local.properties 文件中。但随后我面临以下错误

在绝对路径下找不到代理库C:Userspra​​mod.p2poolpluginsorg.zeroturnaround.eclipse.embedder_2018.1.5.RELEASEjrebellibjrebel64.dll,报错:找不到依赖库

这是我的配置:

tomcat.javaoptions=agentpath:"C:\Users\pramod.p2\pool\plugins\org.zeroturnaround.eclipse.embedder_2018.1.5.RELEASE\jrebel\lib\jrebel64.dll"

如果这里有什么遗漏,请务必告诉我。

【问题讨论】:

    标签: java hybris jrebel


    【解决方案1】:

    文件路径使用正斜杠 (/) 而不是反斜杠 (\)。

    【讨论】:

    • 或者,通过双反斜杠 `\\` 转义它们。我建议你给自己一个 linux VM 来开发 hybris。构建通常比在 Windows 上快 50-100%
    【解决方案2】:

    找不到依赖库

    表示 JVM 找到了 JRebel 代理,但无法链接其依赖的 dll-s。

    要弄清楚您的系统究竟缺少什么,您可以针对 jrebel64.dll 运行 http://www.dependencywalker.com 工具或类似工具

    有关 Windows 版本的信息和任何其他系统信息也有助于找出不兼容的原因。

    【讨论】:

      猜你喜欢
      • 2020-09-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-08
      • 2019-12-23
      • 1970-01-01
      • 1970-01-01
      • 2017-03-01
      相关资源
      最近更新 更多