Skip to content

@Autowired出现红色的下划线

private StuMapper stuMapper;

解决办法:

setting -> Editor -> Inspections -> Spring -> Spring Core -> Code -> Autowiring Bean Class 去掉选择

Image text

如有转载或 CV 的请标注本站原文地址