faces-config.xml

I was getting a java.lang.StackOverflowError in my JSF Application. Putting “version=2.0” into the faces-config tag fixed it. Thank you Hazem!

<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_2_0.xsd"
              version="2.0">
</faces-config>