<!--正确-->
<context:property-placeholder location="classpath*:*.properties"/>
<!--错误-->
<context:property-placeholder location="classpath:*.properties"/>
classpath:与classpath*:的区别在于,
前者只会从第一个classpath中加载,而 后者会从所有的classpath中加载
如果要加载的资源, 不在当前ClassLoader的路径里,那么用classpath:前缀是找不到的,
这种情况下就需要使用classpath*:前缀
在多个classpath中存在同名资源,都需要加载,
那么用classpath:只会加载第一个,这种情况下也需要用classpath*:前缀