idea resources文件夹下jdbc.properties无法加载
intellij吧
全部回复
仅看楼主
level 1
布艾蚩💦 楼主
我不知到是不是bug,resources文件夹下其他xml,包括log4j.properties,都可以加载,但是jdbc.properties在Mybatis和Spring整合时,无法加载jdbc.properties,它说找不到,但是放到src路径下没有问题
2017年07月31日 12点07分 1
level 1
布艾蚩💦 楼主
Caused by: java.io.FileNotFoundException: class path resource [jdbc.properties] cannot be opened because it does not exist
2017年07月31日 12点07分 2
level 1
布艾蚩💦 楼主
不是maven项目,普通web项目
2017年07月31日 12点07分 3
level 1
遇到同样的问题:
2017年12月01日 16点12分 4
level 1
如何解决的那????? 我看见网上pom.xml文件中修改 我第一次改可以了第二天又出现了
2019年01月22日 09点01分 5
1