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

……

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM