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

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

 

posted @ 2021-09-06 11:12  不是安逸  阅读(306)  评论(0编辑  收藏  举报