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

经了解是这个版本的依赖有问题  把这个去了重启就行了

IDEA热布署报错java.lang.IllegalStateException: Restarter has not been initialized

 

IDEA热布署报错java.lang.IllegalStateException: Restarter has not been initialized

上一篇:计数排序法


下一篇:SpringBoot使用Servlet