Maven Dependencies not found in Eclipse's MAVEN project

Source: Internet
Author: User

Record a primary error today

For example, we create a MAVEN project in Eclipse to run our web project

After the construction of the project found Javax-servlet package all error

 I don't know why I'm here, but if you want to see the reason, please take the last

Looking for a half-day to change the eclipse configuration file, but still useless, can only look at the project I saw before the video, see how it was built

  

First it is a POM project

Then inherit the jar of this Pom

I have no problem with that, and then I created the following project again

For the wool or not?

--------------------------------------------------------------the upright dividing line----------------------------------------------------- ------------------------------------------

Well, careful friends already know why.

Have you seen it? Look through the MAVEN Official Handbook only to know, This is a POM project will have, it makes the inside of the jar package will not load,

It means that this is the label that will be created when the POM works!

After the honest look at the handbook is reliable, or later will see "from the Delete library to run" this famous quote

So this blog should not be called to solve the project can not find Maven Dependencies

It is called the role of <dependencyManagement> tags, but I believe that many old brothers are looking for bug problems, but do not know the problem,

Always go to the problem of the bug, and do not know the real problem, so I think the title is more reliable

 

Maven Dependencies not found in Eclipse's MAVEN project

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.