PropertyPlaceHolderConfigurer中的location是不是用错了?

本文由作者张远道授权网易云社区发布。 spring中常用PropertyPlaceHolderConfigurer来读取properties配置文件的配置信息。常用的配置方式有两种,一种是使用location <bean id="property" >     <property="location" value="classpath:myproperty.propeties"/> </bean>
相关文章
相关标签/搜索