可以运行,但是爆红.
路径问题,将读取配置的文件修改一下就行
原先:
<context:property-placeholder location="../prop/jdbcs.properties"/>
修改为
<context:property-placeholder location="classpath*:prop/jdbcs.properties"/>
就不会爆红了
文件路径
可以运行,但是爆红.
路径问题,将读取配置的文件修改一下就行
原先:
<context:property-placeholder location="../prop/jdbcs.properties"/>
修改为
<context:property-placeholder location="classpath*:prop/jdbcs.properties"/>
就不会爆红了
文件路径