2014-02-23 3 views

답변

1

시도해보십시오 xmlns:mvc="http://www.springframework.org/schema/mvc 속성을 추가뿐만 아니라 개방 beans 요소의 xsi:schemaLocationhttp://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd를 추가. 같은

뭔가 : 당신이 그것을 필요로하는 경우에

분명히
<beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:p="http://www.springframework.org/schema/p" 
    xmlns:context="http://www.springframework.org/schema/context" 
    xmlns:mvc="http://www.springframework.org/schema/mvc" 
    xsi:schemaLocation="http://www.springframework.org/schema/beans 
    http://www.springframework.org/schema/beans/spring-beans.xsd 
    http://www.springframework.org/schema/context 
    http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd"> 

, 같은 xmlns:jee 같은 당신이 사용하고있는 현재 구성에 있지만 위의 샘플에없는 추가 네임 스페이스를 유지한다.

+0

대단히 감사합니다. –

+0

물론 ... 다행했습니다! – rpmartz