我浪费了 4 个小时来寻找不添加 webflow jar 的原因 tp 我的模块化 maven 项目的参考库,该项目是从 appfuse 生成的。我想向这个项目添加一个 webflow。但是当我进行如下注册时,出现错误(我仍然没有运行该项目)。
错误是
Multiple annotations found at this line:
- Class 'org.springframework.webflow.mvc.servlet.FlowHandlerAdapter'
not found
但是我在我的 web 模块项目中的 pom 中包含了 webflow 依赖项。但是当我去参考库时,我也找不到 webflow jar。我认为这就是原因,但我无法将罐子放入参考库中。
生成的 pom 很长。如果需要,我会添加它。
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-webflow</artifactId>
<version>2.3.2.RELEASE</version>
</dependency>
春季版本是否存在兼容性问题。我目前正在使用 4.0.0.RELEASE 我也将其更改为 4.0.2.RELEASE。但没有运气。我找不到有意义的解决方案。我真的很感谢这方面的一些帮助。
谢谢