You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
When you add devtools you get an NPE when restarting the second time:
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
https://docs.spring.io/spring-boot/reference/using/devtools.html
Am 26.09.24 um 06:24 schrieb Ana Peterlić:
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.
tutorials/spring-boot-modules/spring-boot-runtime-2/src/main/java/com/baeldung/restart/Application.java
Line 18 in 9f4b9f8
When devtools are used at the same time, the restart does work only once
The text was updated successfully, but these errors were encountered: