Maven Dependencies disappearing problem in Maven+eclipse project

This happens occasionally when we use Maven+eclipse projects: The
Maven Dependencies folder is missing in the newly opened project, resulting in an automatic compilation error of the web project and the lack of necessary library files;
as shown in the following figure:

Description: this This situation often occurs when the development environment is rebuilt, and Maven's dependency library is not in the original path. This problem occurs at this time.
solution:
This is often caused by the fact that the Maven option of the web project is not enabled (disable);
we only need to restart Maven Dependency. The
operation method: first right-click on the web project --> Maven --> Enable Dependency Management


Description: If we originally In some projects, Maven is in the Enable state, but there is also no Maven Dependencies dependency file. We will execute Disable Dependency Management on the original Maven, and then restart it.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326238814&siteId=291194637