JSF2.3模式

JSF2.3模式,jsf,intellij-idea,jsf-2.3,Jsf,Intellij Idea,Jsf 2.3,这似乎不存在。2.2工作正常 <faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3

这似乎不存在。2.2工作正常

<faces-config
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd"
    version="2.3">

有什么想法吗


应用程序工作正常,但IntelliJ会以红色显示所有内容,因为它无法验证架构。

在最新的IntelliJ版本(2017.2-我认为它也适用于较旧的版本)上,将光标设置在“”内,然后点击ALT+ENTER(在Mac上)打开快速修复弹出窗口并选择“获取外部资源”。。。之后,faces配置中的所有内容都被正确识别,您可以设置版本“2.3”。

我认为它与您的IntelliJ IDEA版本有关。JSF2.3是JavaEE8的一部分。IntelliJ IDEA在2017.3版本中增加了对Java EE 8的支持,该版本目前处于早期访问计划中。新版本的更多信息和发行说明:


如果应用程序工作正常,则与JSF无关。最好也将问题标记为“IntelliJ”