Problem: @Autowired is red due to configuration problems.
Solution:
Click file -> settings -> Editor-> Inspections
As shown in the figure: enter spring core
Click autowriting for bean class to change the level from error to warning
Click OK, and the idea will not be red.
Resolved.
Read More:
- How to Solve @Autowired error with Red Wavy Line
- How to Solve idea com.baomidou Error
- How to Solve IDEA Error: Command line is too long
- How to Solve Assert error (IDEA Package Imported)
- How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd…
- IDEA was Filed to Start: error launching idea (Failed to create JVM )
- IDEA-Error java error release version 5 not supported (How To Fix)
- [Solved] ssm Error: Error creating bean with name ‘employeeController’: Injection of autowired dependencies failed
- Annotation @resource & @Autowired introduces Spring bean error
- How to Solve SSM JSON Chinese Messy Code Issue
- How to Solve Springboot YML configurate logging.level error
- How to Solve Error:java.io.InvalidClassException
- How to Solve Error: Maven ‘parent.relativePath‘ of POM…
- How to Solve shiro Set sessionIdUrlRewritingEnabled Error (jessionid Removed)
- How to Solve Swagger error: IllegalStateException
- How to Solve Springboot configurate environment file Error
- How to Solve Nosuchmethoderror Error
- How to Solve Error: Invalid bound statement (not found)
- How to Solve Log4j 2.5 upgrade to 2.15 error
- How to Solve zipkin Install Error in Windows