Eclipse或Spring Suit错误 - Maven Project - 动态Web模块不能更改为3.1 [英] Eclipse or Spring Suit Error - Maven Project - Dynamic Web module cannot be changed to 3.1
问题描述
我已经尽可能的方式从Stackover流程中提到了不同的帖子,但是无法克服以下错误无法将项目facet的动态Web模块的版本更改为3.1
任何一个请帮我解决。
我会给你
- 新 - > Maven项目 - >所选maven-arcetype-webapp
**
- 作为一些b日志建议将web.xml更新到最新3.1
- 将系统库从1.5更改为1.8
- 当我尝试更改动态Web模块时在项目方面,它给了我分享的错误。
即使有些博客建议我从项目的导航器视图更改xml文件面。之后,如果我做一个 Maven - >更新项目。事情变得更糟糕。
它给我下面的错误。
我真的很高兴找到一个解决方案做了足够的研究。请任何人帮助我。
我想要一个Maven项目与JRE 1.8与项目方面 - Web模块3.1没有任何错误。
如果我采取Maven更新项目(JRE不应该改为1.5,这真的很烦人)
转到项目的属性
,在项目构面
中。
右边的Windows选择运行时间
你会有你的jre(jre7或8)检查框,你会在左边的框中选中 Java
:选择您的Java版本:1.8,您会看到动态Web模块
将消失。之后,取消选中选择的运行时间 jre
,并且动态Web模块
将重新出现。这里你会选择你的版本3.1没有错误然后 - > 申请
确定
I have configure external Maven 3.9 to spring tool suit.
I did all possible way what was mentioned in different post from stackover flow but failed to overcome below error Cannot change version of project facet Dynamic Web Module to 3.1
Can any one please help me to resolve it.
I will give you the steps I did to create the Maven Project.
- New -> Maven Project -> Selected maven-arcetype-webapp
**
- As some blog suggested updated the web.xml to latest 3.1
- Changed the System Library from 1.5 to 1.8
- Still when i try to change the Dynamic Web Module in project facet, its gives me the error I shared.
Even some blogs suggested me to change the xml file from navigator view of project facet. After which if i do an Maven -> Update Project. Again things get worse.
It gives me below error.
I am really fed up to find a solution have done enough research. Please any one help me on this.
I want a Maven Project with JRE 1.8 with Project Facet - Web module 3.1 without any error.
And also if I take a Maven update project (The JRE should not change to 1.5 which is really annoying)
Go to properties
of you project , in Project Facets
.
The Windows on the right select Runtimes
you gonna have your jre (jre7 or 8) check the box and you gonna have in the left the box checked Java
: choose your version of Java : 1.8 and you'll see that Dynamic Web Module
will disappear. After that uncheck the choosen runtime jre
and the Dynamic Web Module
will reappear . here you gonna choose your version 3.1 without the error then -> Apply
OK
这篇关于Eclipse或Spring Suit错误 - Maven Project - 动态Web模块不能更改为3.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!