myBatis-小提示

来源:互联网 发布:微商城 源码下载 编辑:程序博客网 时间:2024/06/10 05:10

1. .IllegalStateException: Failed to load ApplicationContext

该问题,是myBatis的sql语句的CostBorrowingSqlMapper.xml,写的有问题。不要惊慌

2. 空指针

junit 空指针

没有添加环境变量

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:META-INF/spring/root.xml"})



0 0