이상하게 Mapper.xml 파일만 생성하면 @RequestMapping을 통해 접속하지 못하는 현상 발생
- 원인
Mapper.xml파일에 namespace속성에 mapper파일 경로가 잘못되었다.
- 해결
Mapper.xml파일에 mapper태그에 namespace속성 mapper.xml파일 경로 확인
'개인 공부 상자 > 오류 해결' 카테고리의 다른 글
Spring Legacy Project Jquery경로 설정 (1) | 2021.08.28 |
---|---|
Handler processing failed; nested exception is java.lang.NoClassDefFoundError 오류 (0) | 2021.08.26 |
요소 유형 "insert"에 대한 "resultType" 속성을 선언해야 합니다. 에러 (0) | 2021.08.26 |
The import org.apache.ibatis.annotations.Mapper conflicts with a type defined in the same file 오류 (0) | 2021.08.25 |
Request method 'GET' not supported 오류 (0) | 2021.08.25 |