前言
最近修改yml文件时
错误信息如下:
***************************
APPLICATION FAILED TO START
***************************
Description:
Binding to target [Bindable@5a7b309b type = org.springframework.boot.autoconfigure.web.ResourceProperties, value = 'provided', annotations = array<Annotation>[@org.springframework.boot.context.properties.ConfigurationProperties(ignoreInvalidFields=false, ignoreUnknownFields=false, prefix=spring.resources, value=spring.resources)]] failed:
Property: spring.resources.static-locations.classpath
Value: /static/
Origin: class path resource [application.yml] - 24:18
Reason: The elements [spring.resources.static-locations.classpath] were left unbound.
Action:
Update your application's configuration