Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
来源:互联网 发布:linux安全加固手册 编辑:程序博客网 时间:2024/06/06 01:21
Eclipse Maven 开发一个 jee 项目时,编译时遇到以下错误:
DescriptionResourcePathLocationType
Dynamic Web Module 3.0 requires Java 1.6 or newer. bdp line 1 Maven Java EE Configuration Problem
Description ResourcePathLocationType
One or more constraints have not been satisfied. bdp line 1 Maven Java EE Configuration Problem
如图:
但是 Eclipse 明明已经将编译级别设置为 1.7:
这是由于你的 Maven 编译级别是 jdk1.5 或以下,而你导入了 jdk1.6 以上的依赖包:查看 Eclipse 的 Navigator 视图下该项目的 .classpath 文件:
解决办法:
使用 maven-compiler-plugin 将 maven 编译级别改为 jdk1.6 以上:
DescriptionResourcePathLocationType
Dynamic Web Module 3.0 requires Java 1.6 or newer. bdp line 1 Maven Java EE Configuration Problem
Description ResourcePathLocationType
One or more constraints have not been satisfied. bdp line 1 Maven Java EE Configuration Problem
如图:
但是 Eclipse 明明已经将编译级别设置为 1.7:
这是由于你的 Maven 编译级别是 jdk1.5 或以下,而你导入了 jdk1.6 以上的依赖包:查看 Eclipse 的 Navigator 视图下该项目的 .classpath 文件:
解决办法:
使用 maven-compiler-plugin 将 maven 编译级别改为 jdk1.6 以上:
阅读全文
0 0
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse jdk1.7 Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案 (特别注意))
- Eclipse/maven编译报错/“Dynamic Web Module 3.0 requires Java 1.6 or newer.”
- Eclipse 用Maven 编译错误 Dynamic Web Module 3.1 requires Java 1.7 or newer
- MAVEN Dynamic Web Module 3.0 requires Java 1.6 or newer.
- Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误 .
- eclipse Maven报错:Type Dynamic Web Module 3.0 requires Java 1.6 or newer.
- 解决Maven更新后错误Dynamic Web Module 3.0 requires Java 1.6 or newer
- 问题解决——maven出现“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误
- 解决maven项目出现Dynamic Web Module 3.0 requires Java 1.6 or newer.错误
- 数据库中事务隔离级别详解
- H5 唤醒Android App
- 微信小程序
- Mac和Windows上hosts代理配置
- 【python图像处理】python绘制灰度直方图
- Eclipse Maven 编译错误 Dynamic Web Module 3.0 requires Java 1.6 or newer 解决方案
- 如何通过用户故事地图和快速估算来做release plan
- poi表报下载 前端加后端及工具类 傻瓜式粘贴就可以用
- 深入分析类与对象--封装性
- iframe的使用场景有哪几个?
- poj 1269 Intersecting Lines(判断两条直线三种状态)
- 实现路由,表格展示,猜数,行程
- python之GUI图形界面
- Python 序列化 保存变量的值