JSF 2.3模式

Mir*_*ciu 3 jsf intellij-idea jsf-2.3

http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd似乎没有退出.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">
Run Code Online (Sandbox Code Playgroud)

有什么想法吗?

应用程序工作正常,但IntelliJ显示Red中的所有内容,因为无法验证模式.

Ulr*_*ech 6

在最新版本的IntelliJ(2017.2 -我认为它会与旧版本的工作以及),设置里面的"光标http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd "并点击ALT + ENTER(在Mac上)打开QuickFix Popup并选择"获取外部资源"...之后,faces-config中的所有内容都被正确识别,您可以设置版本"2.3".