使用eclipse创建maven web工程
作者:朱金灿
来源:https://blog.****.net/clever101
使用maven的一大好处是可以方便地管理依赖库,具体是使用编辑工程的pom.xml文件来配置依赖库。下面具体谈谈如何使用eclipse创建maven web工程。
1.选择”File”——>”New”——>“Maven Project”,如下图:
2. 选择“maven-archetype-webapp”,如下图:
3. 填写工程名,如下图:
4. 设置tomact服务器,如下图:
5. 运行效果如下:
参考文献: