1. .IllegalStateException: Failed to load ApplicationContext
该问题,是myBatis的sql语句的CostBorrowingSqlMapper.xml,写的有问题。不要惊慌
2. 空指针
junit 空指针
没有添加环境变量
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:META-INF/spring/root.xml"})