1. 程式人生 > >maven項目創建——異常:Cannot detect Web Project version

maven項目創建——異常:Cannot detect Web Project version

解決方案 font 技術分享 please fig through property log str


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文件頭出現以上錯誤,原因不詳。

解決方案:

技術分享圖片

maven項目創建——異常:Cannot detect Web Project version