spring中关于 <contexte:property-placeholder 的问题
在spring.xml文件中
<contexte:property-placeholder location=“JDBCTemplate/jdbc.properties”/>
中的location地址不对导致找不到jdbc的配置文件
<contexte:property-placeholder location=“classpath:JDBCTemplate/jdbc.properties”/>
应在地址中加上绝对地址的声明
这样${}才可以显示相对应的内容