In this case, change Error to Warning:
Tag Archives: Intellj IDEA
The solution of using Autowired annotation to report errors in IntelliJ idea

The error should be a warning
In this case, change Error to Warning:

The error should be a warning