class path resource [db.properties] cannot be opened because it does not exist
问题描述:ssm整合,测试代码运行报错:class path resource [db.properties] cannot be opened because it does not exist# 原因分析:<font color=#999AAA >提示:这里填写问题的分析:分析:测试代码编译时,db.properties这些资源文件夹下的文件不会编译到相应的test-classes文件夹下,导致测试代码运行时找不到相应的资源文件。![在这里插入图片描述](https:/