摘要: 初学SSM+mybatis单元测试遇到的问题,dao注入后为nullDao层注入失败,查看后,发现注解都写的无误,经朋友的指点,在测试类上加了一句“@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations={“cl 阅读全文
posted @ 2018-10-15 11:31 旅途上的背包客 阅读(1244) 评论(0) 推荐(0) 编辑