Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects
2016-11-09 21:35
531 查看
转自:http://qussay.com/2013/09/13/solving-dynamic-web-module-3-0-requires-java-1-6-or-newer-in-maven-projects/
When you’re creating a project with
The “Markers” tab will be showing the next error:
First check that your project is configured probably to use Java 1.7.
Right click your project > Properties > Java
Compiler and set “Compiler
compliance level” to 1.7.
Next
from the menu on the left select Project
Facets > Java and
set its version to 1.7
If
you didn’t find 1.7 as one of the drop down options in the previous preferences, then you have to add it to eclipse first.
Navigate to eclipse Preferences > Java > Installed
JREs, click Add,
and locate your installed Java path.
Open your project’s
Finally, right click on your project > Maven > Update
Project…
When you’re creating a project with
Dynamic Web Module 3.0support, you should be using Java 1.6 or newer. I’ll be fixing this issue with Java 1.7, using Eclipse.
The “Markers” tab will be showing the next error:
First check that your project is configured probably to use Java 1.7.
Right click your project > Properties > Java
Compiler and set “Compiler
compliance level” to 1.7.
Next
from the menu on the left select Project
Facets > Java and
set its version to 1.7
If
you didn’t find 1.7 as one of the drop down options in the previous preferences, then you have to add it to eclipse first.
Navigate to eclipse Preferences > Java > Installed
JREs, click Add,
and locate your installed Java path.
Open your project’s
pom.xmland add this plugin tag
Project…
相关文章推荐
- Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects
- Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects
- Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects
- Solving “Dynamic Web Module 3.0 requires Java 1.6 or newer” in Maven Projects
- eclipse 中 maven项目 改为dynamic Web Project 时 显示 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 解决方案
- 解决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
- 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”问题
- 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 解决方案
- Maven - Dynamic Web Module 3.0 requires Java 1.6 or newer.
- 解决Maven更新后错误Dynamic Web Module 3.0 requires Java 1.6 or newer