Is it possible to use spring-boot-devtools
in a Spring MVC
project?
I basically want the .jsp
pages and other static resources to reload automatically without server restart.
Is it possible to use spring-boot-devtools
in a Spring MVC
project?
I basically want the .jsp
pages and other static resources to reload automatically without server restart.
Copyright © 2021 Jogjafile Inc.
try with these : add a configuration bean and see if your jsp files are getting loaded
or in the pom.xml , along with the spring-boot-maven-plugin add this
I am not sure where you are putting your static content in the classpath , may be in src/main/resources/public folder. Instead put them in src/main/webapp, the same as you would any other Java web app. The embedded Tomcat will automatically reload them whenever they change.