Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/zp357252539/article/details/89402841
The first way: for the first time in the pom file when add a dependent, IDEA will play the lower right corner of the box prompted to turn on automatic importing, click the Open can be.
The second way: manually set, File → Settings → Importing → Import Maven projects automatically → OK.
Note: The above two settings are temporary ways, the new project, set invalid. For global use, use the following manner:
File → Settings → Other Importing the Default Settings → → → the OK Automatically Import the Projects Maven