编译器报错:注入了多个同类型bean的问题
@Service
public class BookServiceImpl implements IBookService {
@Autowired
private BookMapper bookMapper;
/*private BookMapper bm;*/
将属性名写成bm 则报错,改为bookMapper则不报错, 目前原因未知
编译器报错:注入了多个同类型bean的问题
@Service
public class BookServiceImpl implements IBookService {
@Autowired
private BookMapper bookMapper;
/*private BookMapper bm;*/
将属性名写成bm 则报错,改为bookMapper则不报错, 目前原因未知