为了兼容liunx一般的目录不加最前面“/”,classPath*:"/"这种要加,否则会出现配置文件找不到,spring实例注入不了
例如:
<context:property-placeholder location="classpath*:/config_spring/esteelChat.properties" ignore-resource-not-found="true" ignore-unresolvable="true" />
<import resource="dubbo-consumer-list/*.xml" />
<property name="mapperLocations" >
<array>
<value> classpath:config_mybatis/**/*.xml</value>
</array>
</property>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:config_spring/applicationContext.xml
classpath:config_spring/applicationContext-shiro.xml
</param-value>
</context-param>