Autowired cannot be resolved to a type;
Question screenshot:
First thought: There should be a missing JAR package. Find the corresponding package as follows:

Click the corresponding class to open the problem as follows:

It should be obvious that there is a problem with the JAR, find the local repository, delete the JAR, and download it again. Right-click the project in Eclipse and expand Run As, then select Maven Install and re-download the JAR package.
You can see the JAR package being downloaded in the console window:

Once the JAR package has been downloaded, the problem can be resolved without incident. This solution is personally measured, not necessarily able to solve your problem, do not like spray! Thanks for communicating!
Question screenshot:

First thought: There should be a missing JAR package. Find the corresponding package as follows:

Click the corresponding class to open the problem as follows:

It should be obvious that there is a problem with the JAR, find the local repository, delete the JAR, and download it again. Right-click the project in Eclipse and expand Run As, then select Maven Install and re-download the JAR package.
You can see the JAR package being downloaded in the console window:

Once the JAR package has been downloaded, the problem can be resolved without incident. This solution is personally measured, not necessarily able to solve your problem, do not like spray! Thanks for communicating!
Read More:
- IntelliJ idea error: package not found or symbol not found
- New Maven project– pom.xml report errors
- Failed to read artifact descriptor for * maven
- Idea Maven project uses package to package and report error (package does not exist)
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- About maven Pom.xml Personal solutions to reporting errors!!!
- Solve the problem that TeamViewer software prompts that the trial period has expired and cannot be operated remotely
- Error in the project tag in the POM file of Maven project: failure to transfer
- Idea couldn’t be found org.springframework.context .support
- Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on
- Failed to find target with hash string ‘android-25’ in:D:\SDK
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?
- Eclipse package explorer related problems and Solutions
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- Jdk11, using JavaFX in eclipse
- Mobile app development: installation and configuration of react native
- The corresponding solutions to the problems of various external symbols that cannot be resolved