I need to use spring boot devtools to force reload of static resource during dev time.
I added follow code to my pom
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
but maven did not found the dependecy,
I need to add respoitory uri?
If you are not using a parent pom nor defined <DependencyManagement> there, then you should identify the version of jar you want to use.
likes:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>1.5.9.RELEASE</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
You can check out http://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools to see which version you would like to use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With