解决Cannot detect Web Project version
来源:互联网 发布:excel将数据分组 编辑:程序博客网 时间:2024/06/05 03:33
创建maven web工程,报如下错误:
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>
解决方案:
在pom.xml添加如下代码
<build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <version>3.0</version> </configuration> </plugin> </plugins></build>
由于项目未指定maven war编译插件,添加以上代码后Run Maven4MyEclipse->Update Project or use Quick
阅读全文
0 0
- 解决Cannot detect Web Project version
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- 解决maven web项目Cannot detect Web Project version. Please specify version of Web Project through...的错误
- Cannot detect Web Project version. Please specify version of Web Project through Maven project prope
- Maven项目导入问题:Cannot detect Web Project version 解决方法
- maven系列-maven报错Cannot detect Web Project version
- Myeclipse 创建Maven项目:Cannot detect Web Project version
- maven web工程提示Cannot detect Web Project version. Please specify version of Web Project through Maven
- 解决Cannot change version of project facet Dynamic Web M
- 解决Cannot change version of project facet Dynamic Web Module
- 解决Cannot change version of project facet Dynamic Web M
- 解决 Cannot change version of project facet Dynamic web 3.0
- 解决maven web项目Cannot change version of project facet Dynamic Web Module错误
- 解决Cannot change version of project facet Dynamic web module to 2.5
- 解决Cannot change version of project facet Dynamic web module to 2.5
- 解决Cannot change version of project facet Dynamic web module to 2.5
- 解决Cannot change version of project facet Dynamic web module to 2.5
- Idea使用总结
- 两个inline-block元素上下不对齐,出现错位
- 二分查找
- FPGA驱动OLED动态显示(Verilog代码)——SPI写操作
- Ubuntu16.04安装ros系统
- 解决Cannot detect Web Project version
- Linux面试小问题
- mybatis中的#{}和${}区别
- Gson教程二(译):嵌套对象的序列化和反序列化
- 关系型数据库和非关系型数据库联系和区别
- java中的单例模式
- ZigBee各层简要概述
- Linux常用命令--命名文件或文件夹
- Eclipse 的单步调试