에러 내용
MyBatisSystemException Could not set parameters for mapping: ParameterMapping{property='gender', mode=IN, javaType=class java.lang.Object, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #4 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #4 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: java.sql.SQLException: Parameter index out of range (4 > number of parameters, which is 3).
Mapper 코드에 공백이 있어서 발생한 에러. 공백 제거해주자 정상작동 함!
'SPRING > 나의 고통(Error)' 카테고리의 다른 글
Could not convert socket to TLS (0) | 2021.08.17 |
---|---|
NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException (0) | 2021.08.10 |
Could not convert socket to TLS (0) | 2021.07.26 |
servlet.xml에 namespace탭이 안보일 때 (0) | 2021.07.22 |
@GetMapping import 불가 (0) | 2021.07.22 |