Error creating bean with name : Scope 'request' is not active for the current thread
问题 I have integrated SWF 2.2.1,Primefaces 2.2.1,JSF 2,Spring Security 3,Spring 3.1.0M1I and EhCache and AspectJ and Castor. I have defined beans for castor in my app-config.xml like <bean id="oXMapper" class="com.abc.xyz.util.OXMapper"> <property name="unmarshaller" ref="unmarshaller" /> <property name="marshaller" ref="marshaller" /> <property name="acordRequest" ref="acordRequest" /> <property name="acordResponse" ref="acordResponse" /> </bean> <bean id="unmarshaller" class="org