Reprint:
Author: Durian seven
links: https://www.jianshu.com/p/46a423bdde31
Source: Jane books
Problems encountered: Maven relies not auto-complete
On the idea when using maven plugin, found that the preparation of the project dependent jar package in pom.xml, has been downloaded to the local jar, not auto-complete, you need to write out manually. Very affecting efficiency.
Solution:
You can manually update the index jar local warehouse in maven of setting to work around. Follows open the Settings screen, select the local repository, click on the upper right corner of the update, the update maven repository indexes. This can be a complement to the already downloaded to the local jar automatically.
Open IDEA, then File -----> Settings
Then maven search box, and then select Repositores, select the local repository, click on the upper right corner of the update, the update maven repository indexes. This can be a complement to the already downloaded to the local jar automatically.