IDEA热布署报错java.lang.IllegalStateException: Restarter has not been initialized
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target [Bindable@31133b6e type = org.springframework.boot.autoconfigure.web.ResourceProperties, value = 'provided', annotations = array[@org.springframework.boot.context.properties.ConfigurationProperties(prefix=spring.resources, value=spring.resources, ignoreUnknownFields=false, ignoreInvalidFields=false)]] failed:
Property: spring.resources.cache-period
Value: 0
Origin: "spring.resources.cache-period" from property source "refresh"
Reason: The elements [spring.resources.cache-period] were left unbound.
Action:
Update your application's configuration
Process finished with exit code 1
经了解是这个版本的依赖有问题 把这个去了重启就行了