新建好的maven项目中,pom.xml的第一行出错,具体如下:
Cannot detect Web Project version. Please specify version of Web Project through Maven project property <webVersion>.
解决办法:
在项目中添加下边的信息:
<properties>
<webVersion>3.1</webVersion>
</properties>
Cannot detect Web Project version. Please specify version of Web Project through Maven project property <webVersion>.
<properties>
<webVersion>3.1</webVersion>
</properties>