自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

revent的专栏

IT博客

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 禁用浏览器后退功能

<script type="text/javascript">//当退出登陆时,禁用浏览器后退功能,有效防止退出后的用户直接直接返回系统中history.pushState(null, null, document.URL);window.addEventListener('popstate', function () { history.pushState(null, nu...

2019-03-30 10:18:13 342

原创 layui数据加载渲染数据表格时会重复加载

今天在查询时,总是遇到数据表格加载两次的问题,后来网上找了一下我用的是button,换成<a>超级连接的方式就正常了<!-- 这里不要用button,会造成重复提交 --> <!-- <button class="layui-btn" id="search" data-type="reload">搜索</button&...

2019-03-26 21:32:15 2749 1

原创 springboot集成mybatis-plus需要注意的问题

mybatis-plus的核心jar包中已集成了mybatis和mybatis-spring,所以为避免冲突,请勿再次引用这两个jar包。

2019-03-25 23:26:45 1487

原创 springboot忽然启动变慢如何解决

解决变法,把项目中的所有断点全部取消,删除,再次启动就变快了

2019-03-25 11:34:31 1171 1

原创 @MapperScan注解和mybatis.mapper-locations 两者缺一不可

@MapperScan注解和mybatis.mapper-locations 两者缺一不可@MapperScan(basePackages="com.ostrich.*.repository")这个注解是用户扫描mapper接口的也就是dao类,mybatis.mapper-locations,而这个是用于扫描mapper.xml的,二者缺少一个都会报错...

2019-03-23 23:16:26 21357 10

原创 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ostrich.demo.repository.StudentMapper.addStudent出现这个错误的原因有好几种,比如namespace与接口名不一样,或者是xml文件中的id与接口方法不一样,还有就是没有扫名,...

2019-03-23 23:07:13 3847

原创 解决mysql时区报错

SpringBoot启动时摄氏,The server time zone value 'Öйú±ê׼ʱ¼ä' isxxxxxxxxxx..........复制这一段,修改数据库名称即可spring.datasource.url=jdbc:mysql://localhost:3306/website?serverTimezone=GMT%2B8&amp;useUnicode=true&...

2019-03-17 13:04:35 545

原创 springboot2.0访问路径出现template might not exist or might not be accessible by any of the configured Temp

使用SpringBoot2.0访问路径时,出现如下错误,记录一下@RequestMapping("index2") public String index2() { System.out.println("index2"); return "index2"; }这里我的返回写成了 return "index2"正确写法是 ...

2019-03-15 19:02:52 4638

spring,springmvc,mybatis,bootstrap,框架

spring;springmv;mybatis;bootstrap, spring;springmv;mybatis;bootstrap, spring;springmv;mybatis;bootstrap, spring;springmv;mybatis;bootstrap,

2018-01-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除