Sunday, April 19, 2009

Value '2.0' is not facet-valid with respect to enumeration '[1.2]'.

Darn, it looks like I've got my design-time, Rational Application Developer 7.5 environment loving my JSF2.0 application, but at runtime, when I deploy to the WebSphere 7.0 server, the server is expecting JSF 1.2. Now to get around this annoying little discrepancy. Any ideas?

I believe the second exception is just being triggered by the first. Alternatively, it could just be an indication that the required libraries simply aren't available on the server. Maybe I should dig into the administrative console for WebSphere 7?

Exception caught while initializing context: {0}
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Unable to parse document WEB-INF/faces-config.xml': cvc-enumeration-valid: Value '2.0' is not facet-valid with respect to enumeration '[1.2]'. It must be a value from the enumeration. init SRVE0100E: Uncaught init() exception created by servlet Faces Servlet in application IfNavigationEar: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
at javax.faces.FactoryFinder.getFactory(

No comments:

Post a Comment