自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hans的博客

会飞的菜鸡

  • 博客(4)
  • 收藏
  • 关注

原创 Cause: java.sql.SQLException: Parameter index out of range (5 > number of parameters, which is 4).

错误描述:    启动项目调接口的时候控制台报错    Cause: java.sql.SQLException: Parameter index out of range (5 > number of parameters, which is 4).错误分析:    可以看到控制台日志输出了下面这一句话    ### The error occurred while setting par...

2018-05-16 15:45:39 27256 11

原创 mybatis if test条件判断语句中 的判断问题

写这个主要是描述在mybatis中要注意的问题,很不幸,自己没注意,跳坑了。我在mybatis中定义的sql语句如下:<if test="facilityOccupied != null and facilityOccupied != '' and facilityOccupied == 1 "> and z.serviceCount = 1 </if&g...

2018-05-15 17:09:26 34034 3

原创 使用注解失败的原因及解决方法

启动项目报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userSer'; nested exception is o...

2018-05-09 12:16:07 2279

原创 解决 .java 文件未编译问题

项目编译时没报错,启动tomcat报错如下:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init...

2018-05-09 12:00:47 2823

空空如也

空空如也

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

TA关注的人

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