In Eclipse, maven downloads the jar package from the remote repository Sometimes it is slow, some even stops moving, we may terminate the current download, but after terminating the jar package download There is a problem, when you open eclipse again, you will notice that the jar package that you are relying on in your project cannot be found , as shown, project right-click---build path---Configure Build path Open Project Java build path on Libraries page
Maven Dependenicies you will find the error hint depends on the jar package missing as shown in
At this point, we can solve the following scenarios
1. Find our local Maven warehouse directory my H:\Java\maven\Repository.
2. Search for the *lastupdated.properties file in this directory and delete it, as shown in, can be matched by fuzzy search such a file
3.Maven updates the current project, Maven will continue to download the missing dependent jar package until the missing jar package is downloaded and the problem is resolved.
The MAVEN project jar package in eclipse does not automatically download the workaround