本文介绍: Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘urlParams‘. It was either not specified and/or could not be found for the javaType (com.alibaba.fastjson.JSONObject) : jdbcType (null) combination.
实体类字段为JSON类型时,必须使用标签进行判定以排除其为null的可能性,否则会报下面的找不到为null时的指定。
解决方法:在java对应的实体类添加对应的字段,重点是加上(typeHandler = JacksonTypeHandler.class)这个注解
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。