
SSM
程序媛是个软妹子
就算写bug,也要每天元气满满
展开
-
SSM框架与redis整合包冲突
Spring相关版本是5.1.3Mybatis版本是3.5.1整合一点几版本的jedis报各种各样的错,最后用2.9.0的jedis客户端成功运行项目<!--Redis支持 --><dependency> <groupId>redis.clients</groupId> <artifactId>jedis&...原创 2019-07-07 22:07:34 · 264 阅读 · 0 评论 -
Rejecting mapping update to [***] as the final mapping would have more than 1 type: [***, ***]
在整合springboot和elasticsearch时,使用spring data进行添加数据时,报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path res...原创 2019-07-20 09:58:46 · 1435 阅读 · 0 评论 -
SpringBoot整合mybatis分页插件出错:java.util.ArrayList cannot be cast to com.github.pagehelper.
在SpringBoot项目做分页功能时,立马想到了MyBatis的分页插件,一导入一用,然后报错java.util.ArrayList cannot be cast to com.github.pagehelper.还以为是代码那里错了,一看,是这样的呀! public PageResult findPage(int pageNum, int pageSize) { ...原创 2019-07-25 16:02:11 · 930 阅读 · 0 评论