工作了两三年一直用eclipse开发,今天换成idea,发现项目可以启动,但是,@autowired 却又一条红线
首先,file ->setting -> Editor ->Inspections -> spring - >spring Core ->code ->Autowired for bean class
把后面框框里的对勾勾掉就好了
idea中@autower报红线,但不影响运行
最新推荐文章于 2023-10-13 17:03:17 发布
工作了两三年一直用eclipse开发,今天换成idea,发现项目可以启动,但是,@autowired 却又一条红线
首先,file ->setting -> Editor ->Inspections -> spring - >spring Core ->code ->Autowired for bean class
把后面框框里的对勾勾掉就好了