IntelliJ IDEA shows errors when using Spring's @Autowired annotation

前端 未结 26 2379
栀梦
栀梦 2020-12-07 15:40

IntelliJ IDEA is showing errors when I use Spring\'s @Autowired annotation in the class, but the class is functioning without any problem.

Here is this

26条回答
  •  春和景丽
    2020-12-07 15:45

    Remove .iml file from all your project module and next go to File -> Invalidate Caches/Restart

提交回复
热议问题