JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer

Description	Resource	Path	Location	Type
JavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied.	wxplatform		line 1	Maven Java EE Configuration Problem
Description	Resource	Path	Location	Type
JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer.	wxplatform		line 1	Maven Java EE Configuration Problem

调查 关键字:j2ee 、 javaee

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                        http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"

发现

http://java.sun.com/xml/ns/j2ee

下有

web-app_2_4.xsd

◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆◇◆

http://java.sun.com/xml/ns/javaee

下有

web-app_2_5.xsd

web-app_3_0.xsd

web-app_3_1.xsd

解决办法:

第一步:替换<web-app> 为2.5 、3.0 或者 3.1

第二步:强行删除报错信息

PS:

……

j2ee 1.4

javaee 5

……

时间: 2024-08-08 09:38:19

JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer的相关文章

解决JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer问题

** 错误1: **在eclipse中新创建一个web项目的时候项目下的JSP文件中会爆出错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.这个错误就是因为项目中还没有引入servlet的jar包.将jar引入进来就可以解决这个错误了,如果是maven项目则直接引入相关jar即可 <dependency> <groupId>javax&l

mavne问题解决---Dynamic Web Module 2.3 or newer

一:前沿 maven问题的bug,其实是很烦人的,因为每次都是很纠结的去改这个bug,特别的烦人,这个bug也是使得我纠结了好久的,那个星期五自己搞了几个小时都没有解决下,之后星期一来百度Google才解决,也是借鉴了别人的经验吧. 二:问题 在别人更新了下pom.xml里面的jar包,这个jar <dependency> <groupId>net.bull.javamelody</groupId> <artifactId>javamelody-core&l

[maven] &quot;Dynamic Web Module 3.0 requires Java 1.6 or newer.&quot; OR &quot;JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer.&quot;

在网上下载的开源工程,用maven构建的时候报错: Dynamic Web Module 3.0 requires Java 1.6 or newer. JAX-RS (REST Web Services) 2.0 requires Java 1.6 or newer. 即使你把properties->Java Compiler->Complier compliance level设置为1.7或1.8也不管用. 解决方法: 第一步,在pom.xml中定义jdk的版本,如下 <build&

问题解决——maven出现“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误

在ubuntu下使用maven搭建web项目,需要用到tomcat服务器来运行.所以需要"项目--右键--配置--Maven Project Facets--勾选Dynamic Web Module 但会出现提示Dynamic Web Module 3.0 requires Java 1.6 or newer.开始是以为我的jdk的问题,但jdk确实没有问题,是1.7的版本. 解决方法: 在pom.xml的<build><build>之间加入一段配置内容 <buil

(转) Eclipse Maven 编译错误 Dynamic Web Module 3.1 requires Java 1.7 or newer 解决方案

场景:在导入Maven项目时候遇到如下错误. 1 问题描述及解决 Eclipse Maven 开发一个 jee 项目时,编译时遇到以下错误:Description Resource Path Location TypeDynamic Web Module 3.1 requires Java 1.7 or newer. bdp line 1 Maven Java EE Configuration Problem Description Resource Path Location TypeOne

MAVEN Dynamic Web Module 3.0 requires Java 1.6 or newer.

MyEclipse2015中在使用Maven创建web项目时,会出现错误提示:Dynamic Web Module 3.0 requires Java 1.6 or newer. 解决方案: 在pom.xml文件中添加插件: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version&

maven3 在创建web项目时:Dynamic Web Module 3.0 requires Java 1.6 or newer 错误

问题:如图,在配置web项目时出现Dynamic Web Module 3.0 requires Java 1.6 or newer 错误 出现该问题是由于maven在构建的时候采用默认的jdk1.5 解决: 1.修改maven的构建在项目的pom.xml,在<build></build>标签中添加 <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <a

【终极】Dynamic Web Module 3.0 requires Java 1.6 or newer

今天在用maven+ssm做项目的时候,右键项目properities设置project facet,勾选dynamic WEB module时一直勾不上,网上找了很多教程都不行, 有说在pom.xml添加plugin的: 也有说修改项目.setting目录下的eclipse配置的: 但是试了都是不行,后来找了其它项目参照,发现没有勾选java...

maven 构建项目时出错 “Dynamic Web Module 3.1 requires Java 1.7 or newer” in Eclipse

记录一下,水平太菜,花费了半天时间. pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source&