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