Estou tentando montar o faces-config, mas quando eu coloco a tag navegation-rule dá erro.
<?xml version="1.0" encoding="UTF-8"?>
<faces-config
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-facesconfig_1_2.xsd"
version="1.2">
<managed-bean>
<managed-bean-name>pessoa</managed-bean-name>
<managed-bean-class>meupacote.transfer.Pessoa</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navegation-rule>
<display-name>formPessoa</display-name>
<from-view-id>/pessoa.jsp</from-view-id>
</navegation-rule>
</faces-config>
O erro é esse:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'navegation-rule'. One of '{"http://java.sun.com/xml/ns/
javaee":application, "http://java.sun.com/xml/ns/javaee":factory, "http://java.sun.com/xml/ns/javaee":component, "http://java.sun.com/
xml/ns/javaee":converter, "http://java.sun.com/xml/ns/javaee":managed-bean, "http://java.sun.com/xml/ns/javaee":navigation-rule,
"http://java.sun.com/xml/ns/javaee":referenced-bean, "http://java.sun.com/xml/ns/javaee":render-kit, "http://java.sun.com/xml/ns/
javaee":lifecycle, "http://java.sun.com/xml/ns/javaee":validator, "http://java.sun.com/xml/ns/javaee":faces-config-extension}' is expected.
Se alguém souber como resolver ou algum site que explique eu agradeço. Já procurei, mas não achei nada. :?