Article From:https://www.cnblogs.com/solvit/p/9967434.html

problem

  IntelliJ IDEAauto loadMavenDependent functionality works well, but sometimes it encounters problems, resulting inpomFile modification does not trigger automatic reload, which requires manual forced update dependencies.


Method

Method 1:

1, Right-click items;

2. Select from the pop-up menuMaven|ReimportMenu item.

Method 2:

IDEADependencies will be automatically downloaded through the network and stored inMavenIn the local warehouse. In addition,MavenThe refresh is set to automatic, and the configuration method is as follows:

1, ClickFile|SettingMenu item, openSettingsTab;

3. CheckImport Maven projects automaticallyChoice;

4. Right key of item->Maven->Reimport;

updated.

Leave a Reply

Your email address will not be published. Required fields are marked *