Hot swapping in Spring Boot

前端 未结 12 1579
别那么骄傲
别那么骄傲 2020-11-29 03:41

I\'ve been doing a P.O.C with Spring Boot.

So far it\'s been going really good and promising, but there\'s one major drawback: I\'m using an embedded server (i.e.,

12条回答
  •  既然无缘
    2020-11-29 04:01

    I do not know how far this kind of support goes, but in case you use Eclipse IDE (or anyone reading this): starting up your Spring-Boot application via m2e in debug-mode (press the "Debug"-dropdown button and pick your maven run configuration item).

    It works for me like a charm.

    My maven run configuration item is configured as follows:

    • goal is set to "spring-boot:run"
    • base directory is the project directory

    I am not using any further libraries (not even spring-boot-devtools).

    That's it.

提交回复
热议问题