[mybatis] Type interface is not known to the MapperRegistry

2021. 7. 21. 19:30·ERROR

 

org.apache.ibatis.binding.BindingException: Type interface is not known to the MapperRegistry.

 

mapper namespace를 잘못 써서 mybatis가 mapper를 찾지 못하는 경우이다.

나의 경우에는 해당 인터페이스를 사용하는 xml 파일의 mapper namespace 패키지 명에 오타가 있었다.
올바른 위치로 수정해주니 문제 없이 돌아간다.

 

이렇게 못 찾겠다는 에러가 뜰 경우 오타나 파일 위치부터 확인해야 한다.

 

 

'ERROR' 카테고리의 다른 글

[mybatis] org.apache.ibatis.binding.BindingException: Parameter '[parameter-name]' not found  (0) 2021.07.30
[java] java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path '/[path-name]'  (0) 2021.07.27
[Eclipse] Cannot determine URI for '[project-name]/[file-path]/[file-name]'  (0) 2021.07.15
'ERROR' 카테고리의 다른 글
  • [mybatis] org.apache.ibatis.binding.BindingException: Parameter '[parameter-name]' not found
  • [java] java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path '/[path-name]'
  • [Eclipse] Cannot determine URI for '[project-name]/[file-path]/[file-name]'
NPC
NPC
예... 안녕하세요
어떤 블로그의 겁나 옛날 글예... 안녕하세요
  • NPC
    어떤 블로그의 겁나 옛날 글
    NPC
  • 전체
    오늘
    어제
    • 분류 전체보기 (20)
      • MEMO (3)
      • Programming (3)
        • JAVA (2)
        • PYTHON (1)
      • Coding Test (7)
        • Programmers (7)
      • REST API (3)
      • ERROR (4)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    level1
    sns로그인
    프로그래머스
    Python
    LG그램
    15z970-ga5bk
    자바예제
    웹크롤링
    Ngrok
    sqlexception
    restfulapi
    illegalStateException
    자바달력예제
    500에러
    level2
    myBatis
    java
    카카오로그아웃
    git명령어
    코딩테스트
    AttributeError
    restapi
    카카오
    별찍기
    카카오로그인API
    배터리수명
    beautifulsoup4
    15Z970
    BindingException
    카카오로그인
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
NPC
[mybatis] Type interface is not known to the MapperRegistry
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.