IDEA cited MAVEN project jar package dependency import problem solution, mavenjar

Source: Internet
Author: User

IDEA cited MAVEN project jar package dependency import problem solution, mavenjar

IDEA has a built-in Maven environment. Maven is used by default to solve the project dependency problem. After a new project is created, the pom. xml file and the project name. iml file are generated in the project path. After a new project is created, IDEA does not automatically refresh Maven dependencies. Taking Spring Application as an example, the following error message is prompted during project Compilation:

The method for refreshing Maven configuration is as follows:

(1) Right-click the project;

(2) Select Maven | Reimport from the pop-up menu.

In this case, IDEA automatically downloads related dependencies from the network and stores them in the Maven local repository. In addition, you can set Maven refresh to automatic:

(1) Click File | Setting menu to open the Settings tab;

(2) Expand the Maven node in the left-side directory tree;

(3) Select Import Maven projects automatically.

I use IDEA of intellij.

It will be found in the relevant directories of my intellij
C: \ Users \ chen. m2 \ repository \ org \ apache \ tomcat \ 8.0.47

Already appears

He can see that he is downloading,

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.