我可以通过 Spring Webflow 2.1.1 运行 Webflow 1.0 流吗?
我有一个使用 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 流程?
I have a project built with Webflow 1.0 and Spring 2.0. We'd like to upgrade to Spring 3, but that requires Webflow 2.X.
I've updated all the Spring and Webflow jars in the project, but when I try to load the initial flow, I get:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [executor]
Other forums have suggested this is due to running a SWF 1.0 flow under SWF 2.X. This is exactly what I'm trying to do, and would like to continue to do, at least until I can test for any issues related directly to the Spring upgrade.
Is it possible to run SWF 1.0 flows under SWF 2.1.1?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(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
No, you can't. The Spring WebFlow 2.0 documentation has a chapter on upgrading, including a tool to convert your 1.0 flows to 2.0.
http://static.springsource.org/spring-webflow/docs/2.0.x/reference/htmlsingle/spring-webflow-reference.html#upgrade-guide