我可以通过Spring Webflow 2.1.1运行Webflow 1.0流程吗?

时间:2010-09-03 21:44:42

标签: java spring spring-webflow spring-webflow-2

我有一个使用Webflow 1.0和Spring 2.0构建的项目。我们想升级到Spring 3,但这需要Webflow 2.X.

我已经更新了项目中的所有Spring和Webflow jar,但是当我尝试加载初始流时,我得到:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [executor]

其他论坛建议这是由于在SWF 2.X下运行SWF 1.0流程。 这正是我正在尝试做的事情,并希望继续这样做,至少在我可以测试任何与Spring升级直接相关的问题之前。

是否可以在SWF 2.1.1下运行SWF 1.0流程?

1 个答案:

答案 0 :(得分:1)

不,你不能。 Spring WebFlow 2.0文档有一章关于升级,包括将1.0流转换为2.0的工具。

http://static.springsource.org/spring-webflow/docs/2.0.x/reference/htmlsingle/spring-webflow-reference.html#upgrade-guide