Inflearn コミュニティ Q&A
에러 질문드립니다.
作成
·
328
0
servlet-context.xml 작성할때
<context:component-scan base-package="kr.co.softcampus.controller"/>
이 부분에서 cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element 'context:component-scan'.
이 오류 왜 생긴건가요?

XMLjavaMVCspring
回答 1
0
softcampus
インストラクター
xml 파일 상단에 context에 대한 정의가 되어 있는지 확인해보시기 바랍니다.
xml 에서 발생되는 오류는 작성단계가 아닌 실행 단계에서 문제가 발생하는지 확인해보시는게 좋습니다.





