SpringBoot使用注解注入mapper报错Find why ‘xxxMapper‘ could be null
SpringBoot使用注解注入mapper报错Find why 'xxxMapper' could be null
·
SpringBoot使用注解注入mapper报错Find why ‘xxxMapper’ could be null解决方案
创建测试类插入数据
但是报错


原来junit用的是4版本的

junit-jupiter5的@Test注解

再次运行就成功了
成功运行

更多推荐



所有评论(0)