在spring xml配置文件中,需要加载多个.properties文件时。以下配置无法生效
<context:property-placeholder location ="classpath*:a.properties,b.proterties"/>
改为 <context:property-placeholder location ="classpath*:*.proterties"/> 即可。
在spring xml配置文件中,需要加载多个.properties文件时。以下配置无法生效
<context:property-placeholder location ="classpath*:a.properties,b.proterties"/>
改为 <context:property-placeholder location ="classpath*:*.proterties"/> 即可。