XML ベースの Spring Webflow コンテキストに関する以下の問題を報告します。
enum プロパティが矛盾している例:
<beans ...
xmlns:webflow="http://www.springframework.org/schema/webflow-config ...">
<webflow:flow-executor id="flowExecutorWithoutFlowRegistryRef"/> <!-- "デフォルト ID が <flow-registry> の 'flowRegistry' が見つかりません -->
<webflow:flow-executor
id="" <!--Value must not be empty-->
flow-registry="INVALID_VALUE" <!-- Bean INVALID_VALUE を解決できません -->
<webflow:flow-execution-repository
conversation-manager="dummyBean" <!-- Bean must be of 'org.springframework.webflow.conversation.ConversationManager' type"-->
max-executions="INVALID_VALUE" <!-- 値は整数でなければなりません -->
max-execution-snapshots="INVALID_VALUE"/> <!-- 値は整数でなければなりません -->
<webflow:flow-execution-listeners>
<webflow:listener criteria="*"
ref="dummyBean" /> <!-- Bean は 'org.springframework.webflow.execution.FlowExecutionListener' 型にする必要があります -->
</webflow:flow-execution-listeners>
</webflow:flow-executor>
<webflow:flow-executor id="dummy"
flow-registry="dummyBean"/> <!-- Bean は 'org.springframework.webflow.definition.registry.FlowDefinitionRegistry' 型にする必要があります -->
<bean id="dummyBean" class="java.lang.String"/>
</beans>