Eclipse创建maven项目


1.eclipse配置maven

2.创建maven项目

3.创建好项目后有报错
错误信息:web.xml is missing and -x- is set to true
在项目中缺少web.xml,且-x-被设置成了true
x=
解决方法1:如果需要web.xml 就生成一个,如下图:

解决方法2:如果不需要web.xml 就配置pom.xml
false

创建简单的mybatis应用