PrimeFaces Showcase is not working in GlassFish 2.1
Posted: 08 Feb 2010, 19:15
I've downloaded and installed showcase WAR. The server is GlassFish 2.1.
I'm getting 503 and the following exception:
Looks like a simple XML validation problem.
I'm getting 503 and the following exception:
Code: Select all
javax.faces.FacesException: Can't parse configuration file: jndi:/server/primefaces/WEB-INF/faces-config.xml: Error at line 20 column 23: cvc-complex-type.2.4.a: Invalid content was found starting with element 'managed-bean-class'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":managed-bean-name}' is expected.
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:376)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
...
[skipped]