![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
雨uu
码农
展开
-
cannot be cast to org.springframework.core.io.support.ResourceRegion
java.lang.ClassCastException: com.runstone.bgpquery.bgp.entity.AttributeGroupPojo cannot be cast to org.springframework.core.io.support.ResourceRegionat org.springframework.http.converter.ResourceRegionHttpMessageConverter.writeResourceRegionCollection(Re原创 2021-01-18 11:09:05 · 675 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
mybatis中 xml映射文件设为资源文件即可在pom build标签中加入即可<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </i...原创 2020-03-06 09:52:34 · 98 阅读 · 0 评论 -
mybatis用法
返回对象的bean的getId可以获得id值原创 2020-03-03 13:56:43 · 111 阅读 · 0 评论 -
mybatis 使用时 报错集锦
原sql<update id="update" parameterType = "java.util.List"> <foreach collection="list" item="item" index="index" separator=","> update xxx set state = 1 where id= #{item.id} and type...原创 2019-10-31 09:47:13 · 761 阅读 · 1 评论