spring location设置本地路径 <context:property-placeholder location="file:D:/jdbc.properties"/> 直接在路径前加上 file: