org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='profileImage', mode=IN, javaType=int, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
'ON > 실습' 카테고리의 다른 글
[Spring Boot] 스프링 부트 프로젝트 쉽게 생성하기 ① (0) | 2023.11.02 |
---|---|
[Spring Boot] 스프링 부트와 스프링의 차이점 (1) | 2023.11.01 |
[ 오류 ] Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것이 존재하는지를 밝히려 하지 않습니다. (0) | 2023.08.22 |
[Eclipse] Dynamic Web Project 생성 및 JSP 페이지 연결방법 초기 세팅 ② (0) | 2023.08.10 |
[Eclipse] Dynamic Web Project 생성 및 JSP 페이지 연결방법 초기 세팅 ① (0) | 2023.08.08 |