idea中Mybatis的mapper接口使用@Autowired引入报错
1.环境
springBoot
idea
mybatis
gradle
2.源代码
@RunWith(SpringRunner.class)
@TestPropertySource(locations = "classpath:config/application.properties")
@AutoConfigureTestDatabase(replace = AutoConf...
原创
2018-03-13 23:04:07 ·
12957 阅读 ·
3 评论