6.0.1: errors indicated for faces-config file

I'm editing a faces-config.xml file in IDEA and the <navigation-rule> elements are being marked as errors. "Cannot resolve file or web directory element ..." is the message.

So, specifically, I have

<navigation-rule>
<from-view-id>/reg/page1*</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/reg/page2.jsp</to-view-id>
</navigation-case>
</navigation-rule>

The from-view-id and to-view-id are marked as errors.

Is there any way to fix this?
Thanks.

Please sign in to leave a comment.