IT/Spring
07. [오류] The prefix "mybatis-spring" for element "mybatis-spring:scan" is not bound.
응 괜찮아,
2021. 3. 7. 23:58
728x90
오류내용
스프링 프로젝트의 web.xml 파일에서 정의한 contextConfigLocation 설정파일에서 mybatis-spring를 prefix로 한 내용을 추가했을 때 아래와 같은 오류 발생
① 추가한 내용
<mybatis-spring:scan base-package="com.test.myspring" />
② 오류화면
조치내용
root-context.xml 파일의 Namespaces 탭을 열어서 mybatis-spring 을 체크하고 파일 저장
728x90