Build & Record

  • 홈
  • 태그
  • 방명록

2023/01/05 1

[에러] mybatis - java.lang.illegalargumentexception: mapped statements collection does not contain value for

1. mapper.xml에 정의한 id가 다른 경우 java(Service or DAO) 파일과 mapper.xml 파일 비교하기 sqlSession.insert(com.project.service.insert, board); 2. Parameter와 bean의 필드명이 틀린 경우 3. namespace가 다른 경우 java(Service or DAO)파일과 mapper.xml 파일 비교하기 sqlSession.insert(com.project.service.insert, board); 4. mybats설정파일에 정의한 namespace확인하기 정의되어 있는지, 스펠링이 틀리지 않았는지 확인하기 5. mapper에 정의된 namespace명칭이 같은 Application 내에 중복된 경우 참고 및 출처 ..

Error 2023.01.05
이전
1
다음
더보기
프로필사진

Build & Record

공부한 것과 경험을 기록합니다. 틀린 부분이 있다면 말씀해 주세요. 감사합니다.

  • Review (157)
    • Spring (36)
    • JAVA (20)
    • JAVASCRIPT (5)
    • HTML, CSS, JS (13)
    • Vue (1)
    • React (0)
    • MVC (5)
    • JPA (0)
    • Error (10)
    • SQL (1)
    • Oracle (9)
    • MongoDB (1)
    • Server (2)
    • Postman (0)
    • Git (1)
    • 정리 (29)
    • 기타 (3)
    • 공부 기록 (18)

Tag

오블완, AOP, 어렵다 .............., 티스토리챌린지, springboot, aspect,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2023/01   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바