maven目录结构


 

选中Create a simple project……复选框,其它的设置不变,并点击Next,输入maven项目必须的信息(groupId,artifactid,version),如下图所示: 

将WebContent下的WEB-INF、META-INF文件夹copy到src/main/webapp目录下,并且删除WebContent目录,完成之后,如下图所示: 

 右键点击sample-webapp项目,依次点击Properties-》Deployment Assembly,如下图所示:

 

 

posted @ 2016-08-04 23:40  vincent_duan  阅读(123)  评论(0编辑  收藏  举报