报告 Spring Webflow 基于 XML 的 <flow>
定义中的配置错误。
enum
属性不一致示例:
<flow
start-state="unknown-state" <!-- Cannot resolve symbol 'unknown-state' ->
parent="unknownParentFlow,another-flow" <!-- 找不到流 'unknownParentFlow' -->>
<input name="" // Value must not be empty
type="foo.com.UnknownType" <!--Cannot resolve class 'UnknownType'-->
value="42"/>
<exception-handler bean="dummyBean"; <!--Bean must be of'org.springframework.webflow.engine.FlowExecutionExceptionHandler' type -->
<view-state id="validFlowButInvalidState_forParent"
parent="another-flow#unknownParentState"/> <!-- 无法解析父状态 'unknownParentState'-->
<bean-import resource="foo.xml" /> <!-- 无法解析文件 'foo.xml' -->
<bean-import resource="highlighting-20-wrong-flow.xml"/> <!-- 不是有效的 spring.xml 文件 -->
</flow>