【问题标题】:How to enable hotswap in Eclipse with SpringBoot 2.2.7.RELEASE (circa 2020)?如何使用 SpringBoot 2.2.7.RELEASE(大约 2020 年)在 Eclipse 中启用热插拔?
【发布时间】:2020-06-11 10:51:11
【问题描述】:

Google 没有在这方面合作...大多数点击至少有 5 年的历史或使用 Tomcat。

如何使用 SpringBoot 2.2.7.RELEASE(这是几天前的最新版本,但我可以如果需要,升级到 2.3.0-RELEASE)?

【问题讨论】:

  • 您是使用 Run 还是 Debug 启动应用程序?
  • 我都试过了,结果一样
  • spring-boot-devtools 不工作?

标签: spring-boot eclipse-plugin


【解决方案1】:

显然,这就是我们所需要的:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional>
</dependency>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-11-16
    • 1970-01-01
    • 2012-03-17
    • 2016-03-25
    • 2020-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多