版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34169802/article/details/81334116
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations" value="classpath*:/*.properties"/> <property name="fileEncoding" value="UTF-8"/> </bean>