How to reload my Spring Boot changes without restarting the server?



During development, you often need to change the code often and restart the server for those code changes to take effect. Spring Boot provides developer tools (the spring-boot-devtools module) that include support for quick application restarts whenever the application classpath content changes.
When you include the spring-boot-devtools module during development, the caching of the view templates (Thymeleaf, Velocity, and Freemarkeretc) will be disabled automatically so that you can see the changes immediately. Just include in your pom.xml file:

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

The Spring Boot developer tools trigger application restarts automatically whenever there is a change to the classpath content.

FREE WildFly Application Server - JBoss - Quarkus - Drools Tutorials
Cookie Policy

Cookie Policy This website uses cookies that are necessary to its functioning and required to achieve the purposes illustrated in the privacy policy. By accepting this OR scrolling this page OR continuing to browse, you agree to our privacy policy.

© 2020 Your Company. All Rights Reserved. Designed By JoomShaper

Please publish modules in offcanvas position.