上一页 1 ··· 18 19 20 21 22
摘要: 一:使用pagehelper配置分页插件 1:首先配置springboot +mybatis框架 参考:http://www.cnblogs.com/liyafei/p/7911549.html 2:创建配置类MybatisConfig,对分页插件进行配置。将mybatis-config.xml移动 阅读全文
posted @ 2017-11-28 21:08 1367356 阅读(710) 评论(0) 推荐(0)
摘要: 1:异常提示 500状态码,服务器异常 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.liyafei.dao.mapper.UserMapper.getUserList 截决方 阅读全文
posted @ 2017-11-28 19:47 1367356 阅读(224) 评论(0) 推荐(0)
摘要: 参考: http://blog.csdn.net/saytime/article/details/74783296 spring boot可以使用全注解的方式进行开发,极大的提高了开发效率,为越来越多的公司所使用, mybatis允许开发者使用sql语句,使开发更具灵活性。下面讲一下如何将sprin 阅读全文
posted @ 2017-11-28 18:52 1367356 阅读(1637) 评论(0) 推荐(0)
摘要: spring boot 启动类一定要放置到包的根目录下,也就是和所有包含java文件的包在同一级目录。将会将同一目录下的包扫描成bean。 如果不放置在根目录下,将会提示 no mybatis mapper was found 2017-11-28 10:30:12.048 WARN 3852 [ 阅读全文
posted @ 2017-11-28 10:39 1367356 阅读(1859) 评论(0) 推荐(0)
摘要: 一:首先安装spring boot插件 两种方式安装, 1:使用myeclipse自带的安装插件的功能 help> install from catalog> 将出现下面的界面,搜寻spring boot 点击install安装 2:使用maven工程,在pom.xml中添加spring boot依 阅读全文
posted @ 2017-11-24 21:37 1367356 阅读(318) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22