我有一个使用 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 流程?
最佳答案
不,你不能。 Spring WebFlow 2.0 文档有一章介绍升级,包括将 1.0 流转换为 2.0 的工具。
关于java - 我可以通过 Spring Webflow 2.1.1 运行 Webflow 1.0 流吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3639752/