Mar 10th, 2013, 10:47 AM
JSF2 and Spring3 FacesContext must not be null with SpringBeanFacesELResolver
We have an app in JSF 1.2 and Spring 3.x using the SpringBeanFacesELResolver to inject Spring beans into ManagedBeans and it works fine.
We are moving to JSF 2 using Spring 3.1.3 and I cannot get this to work. If I use the SpringBeanFacesELResolver as a resolver in my faces-config.xml, Spring gives me a 'FacesContext must not be null' when trying to instantiate a bean. If I don't use that resolver, the spring beans are not available.
Is anyone facing this also? What do I need to do to get this to work???