1.新建一个spring-config.xml文件
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<!--
<value>file:C://important1.properties</value>
-->
<value>classpath:important1.properties</value>
</list>
</property>
<property name="fileEncoding" value="utf-8"></property>
</bean>
2.新建一个spring-config-service.xml文件
<bean id="bean1" class="com.xxx.ATest">
<property name="iconList" value="${com.xxx.iconList}"></property>
</bean>
3.新建一个iconL