在IDEA中写dao层测试类时使用@Autowired注解出现错误。

解决方法:
file -> settings -> Editor -> Inspections -> Spring -> Spring Core -> Code -> Autowiring for Bean Class把右边的Severity的error值改为warning
在IDEA中写dao层测试类时使用@Autowired注解出错

转载于:https://blog.51cto.com/11706595/2347498

相关文章:

  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
  • 2021-08-31
  • 2021-09-27
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
相关资源
相似解决方案