First, Introduction
To meet the needs of the company, MAVEN has many advantages for traditional project management methods, such as relying on a clear library, easy project release, and a unified project structure catalog.
Ii. Steps to create
1. open Eclipse, right-click new--"Other, if you find Maven project
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/96/wKiom1SG3FSCjnGBAAGC2NhTg7Y930.jpg "title=" Qq20141209182525.png "alt=" Wkiom1sg3fscjngbaagc2nhtg7y930.jpg "/>
2 . Select Maven Project, display the window that created the MAVEN project, direct next650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/54/94/ Wkiol1sg3thtlpl_aaeaurgsal0925.jpg "title=" Qq20141209182627.png "alt=" Wkiol1sg3thtlpl_aaeaurgsal0925.jpg "/>
3. Fill in Maven basic information
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/96/wKiom1SG3R_gN7z7AAGOtuCCKqA317.jpg "title=" Qq20141209182726.png "alt=" Wkiom1sg3r_gn7z7aagotucckqa317.jpg "/>
4, click Finish, this time to create a MAVEN project is not complete, need to configure
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/94/wKioL1SG3kjz9XFJAAEE0lALh-8619.jpg "title=" Qq20141209183357.png "alt=" Wkiol1sg3kjz9xfjaaee0lalh-8619.jpg "/>
5. Right-click Project and Tap properties to configure the JDK
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/96/wKiom1SG3jyAClNrAAL7KDsljek595.jpg "title=" Qq20141209193236.png "alt=" Wkiom1sg3jyaclnraal7kdsljek595.jpg "/>
6, configuration, Src/main/webapp for "/" The root directory of the project
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/95/wKioL1SG4iLTLdSdAAK9dsoTnIE610.jpg "title=" Qq20141209193602.png "alt=" Wkiol1sg4iltldsdaak9dsotnie610.jpg "/>
7, click OK to find the project, reported HttpServlet error
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/96/wKiom1SG3yyjsLkFAAFpSZBH8wk479.jpg "title=" Qq20141209184728.png "alt=" wkiom1sg3yyjslkfaafpszbh8wk479.jpg "/>
8, configuring Pom, adding Servlet-api
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/95/wKioL1SG3_3jaqZIAAKsLz5wI3M700.jpg "title=" Qq20141209193834.png "alt=" Wkiol1sg3_3jaqziaakslz5wi3m700.jpg "/>
9, click OK, the initial completion of Web project construction
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/97/wKiom1SG3__Ac6xPAAEQOWcFD5o555.jpg "title=" Qq20141209190350.png "alt=" Wkiom1sg3__ac6xpaaeqowcfd5o555.jpg "/>
This article is from the "Hollows" blog, make sure to keep this source http://persistence.blog.51cto.com/9309920/1588057
Create a MAVEN-managed Web project using Eclipse (i)