![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSM
Tcml_
这个作者很懒,什么都没留下…
展开
-
junit测试Injection of autowired dependencies failed和单元测试报错:Failed to load ApplicationContext
首先 抛出Failed to load ApplicationContext异常 百度后,@ContextConfiguration(“classpath:application.xml”)和@Autowired都写好的,但是就是出错 @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("classpath:applicati...原创 2020-04-22 23:56:23 · 514 阅读 · 0 评论 -
mybatis运用配置文件逆向输出代码一直保存Cannot resolve classpath entry:
一直没注意错误信息 Cannot resolve classpath entry:D:crm\src\main\resources 我的文件夹为resource,没加s 源文件夹应该为resources 主要参考了: CSDN上的解决方法 虽然没能解决问题,但是也给了很多提示 ...原创 2020-04-22 19:45:43 · 376 阅读 · 1 评论 -
SSM整合
Spring、Springmvc、Mybatis整合 创建Maven,勾选模板webapp工程,在pom.xml中添加依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM...原创 2020-04-11 23:23:49 · 110 阅读 · 0 评论