[ERROR]java.lang.IllegalArgumentException: Unable to convert type to type of java.lang.CharSequence

해내면 그만!XX·2022년 8월 2일
0

Error querying database. Cause: java.lang.IllegalArgumentException: Unable to convert type com.portfolio.mvc.domain.BoardType of COMMUNITY to type of java.lang.CharSequence
Cause: java.lang.IllegalArgumentException: Unable to convert type com.portfolio.mvc.domain.BoardType of COMMUNITY to type of java.lang.CharSequence] with root cause
java.lang.IllegalArgumentException: Unable to convert type com.portfolio.mvc.domain.BoardType of COMMUNITY to type of java.lang.CharSequence

type이 맞지 않는다는 것 StringUtils --> ObjectUtils 변경해줌...!

<!-- 게시물 종류 -->
<if test="@org.apache.commons.lang3.ObjectUtils@isNotEmpty(parameter.boardType)">
	AND B.BOARD_TYPE = #{parameter.boardType}
</if>

0개의 댓글