如何配置Spring Webflow

时间:2015-07-02 06:27:46

标签: spring-webflow

我正在设置环境。每当我将XML bean文件添加到Spring元素时,我都会收到错误:

  

无法为元素[flow:executor]

找到BeanDefinitionParser

我的流程是:

<webflow:flow-executor id="flowExecutor" >
        <webflow:flow-execution-listeners>
            <webflow:listener ref="jpaFlowExecutionListener" />
            <webflow:listener ref="facesContextListener" />
        </webflow:flow-execution-listeners>
    </webflow:flow-executor>

我的默认配置是:

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:webflow="http://www.springframework.org/schema/webflow-config"
       xmlns:faces="http://www.springframework.org/schema/faces"
       xsi:schemaLocation="
            http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
           http://www.springframework.org/schema/webflow-config
           http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.4.xsd
            http://www.springframework.org/schema/faces
            http://www.springframework.org/schema/faces/spring-faces.xsd">

0 个答案:

没有答案