I have a spring boot application running fine with Intellij IDE. i.e i started the Application class that has the main method which delegates to SpringApplication.run. Every
Step 1: Add developer tools denpendency
Maven.
org.springframework.boot
spring-boot-devtools
true
Gradle.
dependencies {
compile("org.springframework.boot:spring-boot-devtools")
}
Step 2: Go to File | Settings | Build, Execution, Deployment | Compiler
enable Build project automatically & Apply & OK
Step 3: Press shortcut key Ctrl+Shift+A & Search Registry keyword & Press Enter
Enable complier.automake.allow.when.app.running & Click Close Button
Step 4: Disable cache on your favorite web browser
Step 5: Done!!!