解决办法:
1、改用以下配置:
<bean id= "propertyConfigurer"
class= "org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
<property name= "locations">
<list>
<value> classpath:jdbc.properties</value >
</list>
</property>
</bean>
2、properties文件中的key不要与系统配置重名,比如 jdbcusername=root ,username=root
3、将context:property-placeholder 中属性system-properties-mode 默认值配置成:NEVER