2011-08-04 2 views
1

웹 플로우를 처음 사용하고 있으며 JSR-303 Bean 유효성 검사를 설정하려고합니다. 문서에 따르면 : 내 흐름 빌더 서비스에 유효성 검사기를 추가 할 필요가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'. 

이 흐름 설정이 보인다 올바르게 설정하면 시작 페이지에서 내 두 번째 페이지로 이동할 수 있습니다. 나는 봄-3.0.5 사용하고

, 스프링 Webflow-2.3.0 어떤 도움이 많이 주시면 감사하겠습니다

.

감사합니다.

답변

관련 문제