在配置文件中,路径没有错,也有对应的keyvalue但是会报错
<context:property-placeholder ignore-unresolvable="true" location="classpath:resource/application.properties" />
ignore-unresolvable="true"
必须加上,每个配置文件都不能漏
在配置文件中,路径没有错,也有对应的keyvalue但是会报错
<context:property-placeholder ignore-unresolvable="true" location="classpath:resource/application.properties" />
ignore-unresolvable="true"
必须加上,每个配置文件都不能漏