IDEA has a built-in Maven environment, and Maven is used by default to solve project dependency problems. After creating a new project, the pom.xml file and the project name.iml file will be generated in the project path. After creating a new project, IDEA will not automatically refresh Maven's dependencies. Taking Spring Application as an example, the following error message is prompted when creating a new project:
The method to refresh the Maven configuration is:
(1) Right-click on the project;
(2) Select the Maven|Reimport menu item in the pop-up menu.
At this time, IDEA will automatically download the relevant dependencies through the network and store them in Maven's local repository. In addition, Maven's refresh can be set to automatic, and the configuration method is:
(1) Click the File|Setting menu item to open the Settings tab;
(2) In the directory tree on the left, expand the Maven node;
(3) Check the Import Maven projects automatically selection.
I'm using IntelJ IDEA
Will find the relevant directory in my IntellJ
C:/Users/chen.m2/repository/org/apache/tomcat/tomcat/8.0.47
Already appeared
It can be seen that he is already downloading.
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.