Spring Boot DevTools

Spring Boot Devtools:

Step1:

1. Spring Boot DevTools provides automatic restart functionality,

allowing developers to quickly see changes made to their application without needing to manually restart the server.

2. Any changes to class files trigger a restart of the application,

speeding up the development process.

Step2:

Spring Boot Devtools Features:

Automatic restart.

Step3: Add Dependency:

<dependency>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-devtools</artifactId>

</dependency>

Step4:

Q) How to disable Auto Reload in Spring Boot application?

A) System.setProperty("spring.devtools.restart.enabled", "false");

Step5:

Enabling automatic Restart in Intellij:

a. File>Settings>Build,Execuion,Deployment>compiler>select Build Project Automatically

b. Advanced Settings>compiler>select Allow auto-make to start even if developed application is currently running.


To view or add a comment, sign in

More articles by Sankar Karra

  • Spring Boot vs Angular – Conceptual Comparison

    Spring Boot vs Angular – Conceptual Comparison: 🔹 Purpose Spring Boot → Backend framework (Java) Angular → Frontend…

  • Hyderabad: Temples I Visited

    Hyderabad: Temples I Visited Sri Nimishamba Devi Temple, Boduppa. Yadagirigutta Sri Lakshmi Narasimha Swamy Devasthanam.

  • Understanding Theory Concepts of Cursors, Indexes, and Views in Oracle(SQL/PLSQL)

    Understanding Theory Concepts of Cursors, Indexes, and Views in Oracle(SQL/PLSQL): Cursors in Oracle (PL/SQL): 1…

  • STS/Eclipse Shortcuts

    Most important STS/Eclipse shortcuts: 1. Imports: ctrl+shift+o 2.

  • Spring Boot Actuator and Admin Server, Client UI

    Spring Boot Actuator Theory: Step1: a. Spring boot Actuator called a Production-ready end-points or production-ready…

  • Swagger UI or Test UI

    Swagger UI(Test UI): 1. Swagger is an Open Source and it is Test UI.

  • HR Interview Story

    HR Interview Story: A week ago, I sent a rejection email to a candidate who had interviewed for an open position…

  • Components in AEM

    Components in AEM: create a webpage by combining different components like a header, footer, text, image, video, or any…

  • Content Management System Tool

    In this article, I will discuss AEM[Adobe Experience Manager] AEM is a Content Management System Tool..

  • MongoDB

    MongoDB: MongoDatabase Installation Process: 1. Download the MongoDB Zip file and extract it.

Explore content categories