1、环境介绍:maven-3.03 + myEclipse10
2、创建过程:
2.1、在myeclipse9中,new-》other-》maven project,在界面中选择:
next-》输入groupId、artifactId、version,packaging选择war,然后点击“完成”。
在myeclipse10下,这样即可生成maven项目。
补充:我们需要在src/main/webapp/WEB-INF下面创建一个web.xml
参考:
http://kb.cnblogs.com/a/2315455/中介绍的方法是否可行。


浙公网安备 33010602011771号