【问题标题】:How can I debug with JRebel in Intellij IDEA如何在 Intellij IDEA 中使用 JRebel 进行调试
【发布时间】:2019-03-04 13:39:08
【问题描述】:

当我在IDEA中用Jrebel调试时,总是出错

部署 Artifact 时 java.io.FileNotFoundException: E:\swlims-lims1\target\web.xml(系统找不到文件)

但是当我使用 Tomcat 的按钮进行调试时,它不会像这样发生,它可以正常工作,没有这个异常。 系统找不到web.xml一般是什么原因造成的.Thx

【问题讨论】:

  • 请阅读“如何创建minimal reproducible example”。然后使用edit 链接改进您的问题(不要通过 cmets 添加更多信息)。否则我们无法回答您的问题并为您提供帮助。
  • 不知道你在说什么。我建议您求助于 jrebel 或 intellij 支持。

标签: java intellij-idea jrebel


【解决方案1】:

您可以尝试让 IDEA 生成 rebel.xml。右键单击 intellij 中的项目,向下滚动到上下文菜单“JRebel”的底部,然后选择 rebel.xml

这个文件告诉 JRebel 你的类路径和 webapp(包含 web.xml)在哪里。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多