| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- mapper
- 시스템설정
- springboot jwt
- SpringBoot에러
- SpringBoot Security
- 400badrequest
- 맥북
- java
- SQL
- VUE
- KafkaFlink
- springboot
- java17
- ApacheFlink
- RestControllerAdvice
- ApacheKafka
- springboot mybatis
- HttpRequestMethodNotSupportedException
- springboot예외처리
- Spring
- KafkaProducer
- SpringBootKafka
- ControllerAdvice
- 405MethodNotAllowed
- mybatis
- SpringKafka
- ios
- 백엔드개발
- RequestMethodNotSupported
- 실시간데이터처리
- Today
- Total
목록전체 글 (169)
생활기록부
Spring Boot MyBatis BindingException 원인과 해결 방법Spring Boot에서 MyBatis를 사용하다 보면 자주 만나는 예외 중 하나가 BindingException입니다.대표적으로 다음과 같은 오류가 발생합니다.org.apache.ibatis.binding.BindingException:Invalid bound statement (not found):com.example.mybatis.mapper.UserMapper.findById또는 다음과 같은 형태도 있습니다.org.apache.ibatis.binding.BindingException:Parameter 'name' not found.Available parameters are [arg1, arg0, param1, pa..
Spring Boot MyBatis Parameter not found 원인과 해결 방법Spring Boot에서 MyBatis를 사용하다 보면 자주 만나는 오류 중 하나가 Parameter not found입니다.대표적인 오류 메시지는 다음과 같습니다.org.apache.ibatis.binding.BindingException:Parameter 'name' not found.Available parameters are [arg1, arg0, param1, param2]또는 다음과 같이 나타날 수 있습니다.Parameter 'userId' not found.Available parameters are [arg0, param1]이 오류는 쉽게 말하면 Mapper 메서드에서 전달한 Parameter 이름과 M..
Spring Boot MyBatis Invalid bound statement 원인과 해결 방법Spring Boot에서 MyBatis를 사용하다 보면 자주 만나는 오류 중 하나가 Invalid bound statement입니다.대표적인 오류 메시지는 다음과 같습니다.org.apache.ibatis.binding.BindingException:Invalid bound statement (not found):com.example.mybatis.mapper.UserMapper.findById이 오류는 쉽게 말하면 Java Mapper 메서드는 호출했는데 MyBatis가 실행할 SQL을 찾지 못했다는 의미입니다.대부분 다음 중 하나가 원인입니다.Mapper XML namespace가 틀림Mapper Method..
Spring Boot MyBatis @Mapper와 @MapperScan 차이Spring Boot에서 MyBatis를 사용할 때 Mapper Interface를 Spring Bean으로 등록해야 합니다.이때 가장 많이 사용하는 방법이 다음 두 가지입니다.@Mapper@MapperScan처음 MyBatis를 사용하는 경우 둘의 차이가 헷갈릴 수 있습니다.예를 들어 다음과 같은 오류가 발생할 수 있습니다.required a bean of type'com.example.mybatis.mapper.UserMapper'that could not be found또는 Mapper Interface를 만들었는데 Spring이 Bean으로 등록하지 못해 Service 생성 단계에서 애플리케이션 실행이 실패할 수도 있습니..
