Devel/WEB
Spring Framework 프로젝트에서 cvc-complex-type-3.2.2: Attribute 'local' is not allowed to appear in element 'ref' 에러 처리 방법
kogun82
2015. 9. 23. 14:27
eclipse 에서 스프링 프레임워크 적용해 프로젝트를 진행 시 아래와 같은 장애 발생한다.
cvc-complex-type-3.2.2: Attribute 'local' is not allowed to appear in element 'ref'
스프링 4.0 부터는 spring-beans.xsd 에서 local을 지원하지 않기에 스프링 프레임워크 4.0버젼 이하의 프로젝트 일 경우 아래와 같이 bean 설정을 수정한다.
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">
반응형