Eclipse maven project to create a web project is a Java project

Maven project used here is not to create the skeleton, the first to introduce the project to create Java,
Here Insert Picture Description
where the second hook is have to choose, do not choose seems to be an error, then the first one is the best option, the third and leave and then the next step.
Here Insert Picture Description
Then we choose to fill in the contents of the above, and click to complete it.
The first of a Java maven project has been constructed.
Next we create a web project,
the first step is still the same, we only need to modify Packaging options there on the line.
Here Insert Picture Description
After I created here will be reported, because there's less wen file, now we on the way to the entire web of missing files in one step to complete it.
Right-click on the project we find that the bottom of the properties, then click on the go, find
Here Insert Picture Description
the front of the Dynamic check to remove it, then click Apply, and then we vote for it,
now you might wonder I is not had enough , insisted on it? The next thing to see,
Here Insert Picture Description
then we have to fill in the second, not the first one is the default action of the project,
Here Insert Picture Description
simply fill out the second line, I have here is my project name is deleted, you can not delete, the bottom web.xml file that is generated can not be removed, we just want to keep.
Here Insert Picture Description
Finally, our web maven project for the construction of the Well!

Published 12 original articles · won praise 0 · Views 264

Guess you like

Origin blog.csdn.net/weixin_45488363/article/details/105326666