2011-08-04 12 views
1

私は初めてWebflowを使用しており、JSR-303 Bean Validationを設定しようとしています。ドキュメントによると:私は私の流れ-ビルダー・サービスにバリデータを追加する必要がSpring WebFlow Validatorの設定に関する問題

http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#view-validate

私はこれを行うと、私は私の元に、次のエラーが表示されます。私は、私は次のエラーを取得するアプリを実行すると

cvc-complex-type.3.2.2: Attribute 'validator' is not allowed to appear in element 'webflow:flow-builder-services'.

は:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [webflowContext.xml] 
Offending resource: class path resource [spring-servlet.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 18 in XML document from class path resource [webflowContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'validator' is not allowed to appear in element 'webflow:flow-builder-services'. 

フローの設定があるようです私のウェルカムページから、私の流れの中の2番目のページまでナビゲートすることができます。

私はすべてのヘルプははるかに高く評価されるだろう春3.0.5、春のWebflow-2.3.0

を使用しています。

おかげ

答えて

関連する問題