maven项目创建——异常:Cannot detect Web Project version


Cannot detect Web Project version. Please specify version of Web Project through
<version> configuration property of war plugin. E.g.: <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <version>3.0</version> </configuration> </plugin>

创建maven项目是pom.xml文件头出现以上错误,原因不详。

解决方案:

posted @ 2017-11-26 19:04  阿a志  阅读(394)  评论(0编辑  收藏  举报