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