错误
Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/db/jdbc.properties]
原因: 引入时未加入classpath:
<context:property-placeholder location="db/jdbc.properties"/>
解决方式:
<context:property-placeholder location="classpath:db/jdbc.properties"/>