1. XML 파일에서 xml네임스페이스를 추가
-> xmlns:context="http://www.springframework.org/schema/context"
2. xsi:schemaLocation 추가
Default
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
추가
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-3.2.xsd">
3. <context:annotation-config> 추가
'개발 > Spring' 카테고리의 다른 글
ORA-12505 에러 해결방법 (0) | 2020.05.16 |
---|---|
java.sql.SQLException: 부적합한 Oracle URL이 지정되었습니다 (오류해결) (0) | 2020.03.15 |
Java request.getParameter() 한글깨짐 오류 해결 (0) | 2020.03.11 |
댓글