前言
springboot mapper注入失败报错org.springframework.beans.factory.annotation.Autowired(required=true)
解决方法
将 @Autowired 改成 @Autowired(required = false)
springboot mapper注入失败报错org.springframework.beans.factory.annotation.Autowired(required=true)
将 @Autowired 改成 @Autowired(required = false)