Open kicktipp opened 4 weeks ago
Hi @kicktipp,
Thanks for the feedback. Can you please clarify what you mean by “when devtools are used at the same time”? Instructions on how to reproduce the issue would be very helpful.
Cheers, Team
When you add devtools you get an NPE when restarting the second time:
https://docs.spring.io/spring-boot/reference/using/devtools.html
Am 26.09.24 um 06:24 schrieb Ana Peterlić:
Hi @kicktipp https://github.com/kicktipp,
Thanks for the feedback. Can you please clarify what you mean by “/when devtools are used at the same time/”? Instructions on how to reproduce the issue would be very helpful.
Cheers, Team
— Reply to this email directly, view it on GitHub <https://github.com/ eugenp/tutorials/issues/17628#issuecomment-2375842917>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ AARJBJPA4UAA4DHI7VA3XMLZYOEAPAVCNFSM6AAAAABOLZVFXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZVHA2DEOJRG4>. You are receiving this because you were mentioned.Message ID: <eugenp/ @.***>
I'm getting "Field restartEndpoint in com.baeldung.restart.RestartService required a bean of type 'org.springframework.cloud.context.restart.RestartEndpoint' that could not be found." when trying to run the application.
https://github.com/eugenp/tutorials/blob/9f4b9f8e7743fc7fef1d12408ece00ca81e295ca/spring-boot-modules/spring-boot-runtime-2/src/main/java/com/baeldung/restart/Application.java#L18
When devtools are used at the same time, the restart does work only once