• 误区
    加入@Autowired后有红线,其实可以正常运行,并没有代码错误,所以只要修改一下提示级别就可以了。
    Intellij Idea @Autowired修改提示级别
  • 修改方法
    File – Settings – Inspections
    Intellij Idea @Autowired修改提示级别
    修改完后,代码就不会冒红线了。

相关文章:

  • 2021-11-20
  • 2021-07-16
  • 2022-12-23
  • 2021-06-28
  • 2022-01-06
  • 2021-10-05
  • 2022-12-23
  • 2021-06-09
猜你喜欢
  • 2021-09-07
  • 2021-06-04
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-11-10
相关资源
相似解决方案