1. Discover problems
After creating the maven project, display the red cross and put the mouse on it to display the Execution default-testResources of goal :maven-resources-plugin:2.4.3 error.
2. Cause analysis
If the maven-resources-plugin-2.4 is missing or the file is downloaded incorrectly, you can go to the repository\org\apache\maven\plugins\maven-resources-plugin\ directory to see if the download is correct. Or delete the file and download it again.
3. Solution
Step 1:
File addition
<dependency>
<groupId></groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
</dependency>
Step 2: Run as —> maven install to download