bug
linpulao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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文件夹下,导致测试代码运行时找不到相应的资源文件。  public class CustomerController { @Autowired private BaseDictService baseDictService; @Au原创 2021-06-20 22:06:12 · 4671 阅读 · 6 评论
分享