In a JSF 2 environment you'll also need this Spring MVC related configuration:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:faces="http://www.springframework.org/schema/faces"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/faces
http://www.springframework.org/schema/faces/spring-faces-2.2.xsd">
<faces:resources />
<bean class="org.springframework.faces.webflow.JsfFlowHandlerAdapter">
<property name="flowExecutor" ref="flowExecutor" />
</bean>
</beans>
The resources custom namespace element delegates JSF 2
resource requests to the JSF 2 resource API. The
JsfFlowHandlerAdapter is a replacement for the
FlowHandlerAdapter normally used with Web Flow. This adapter
initializes itself with a JsfAjaxHandler instead of the
SpringJavaSciprtAjaxHandler previously used with Spring Faces
components.