自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 根据日期查询的报表内容缓存到Local Storage

let CacheReportData = { /** * 获取缓存 * @param obj 调用该方法的对象 * @param name 缓存唯一标识符 * @param startDate 查询的日期条件 * @param pagingData 分页参数 * @returns {*} 返回选中日期的数据 */ getCacheData: function(obj, name, startDate, pagingData) { let local

2020-06-19 15:02:49 225

原创 Ant Design MonthPicker组件选择指定范围的数据

需要禁用掉2020以前的月份和当前月的数据。效果图:代码:disabledDate(current){ let disabledDate = Moment().format("YYYY-MM"); /*return current.month()>=5;*/ return current > Moment(disabledDate).endOf('day') || current < Moment("2020-01").endOf('day') ;

2020-06-11 16:35:00 1323

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

idea无法编译mapper文件,

2019-12-26 19:27:14 172

原创 ideaMaven项目使用第三方依赖java.lang.NoClassDefFoundError

java.lang.NoClassDefFoundError: com/alipay/api/AlipayApiException在war中直接添加第三方的jar。

2019-12-22 23:41:07 410

转载 ue-cli 3本地文件如何引用

2019-10-09 02:18:46 108

原创 Mybatis There is no getter for property named 'xxxx' in 'class java.lang.String'

There is no getter for property named ‘xxxx’ in ‘class java.lang.String’ <where> <if test="xxx!=null and xxx!=''"> and e.name like concat('%',#{xxx},'%') ...

2019-09-25 13:15:57 128

原创 Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Gener

今天整合ssh 项目遇到的错误:ERROR SqlExceptionHelper Cannot create PoolableConnectionFactory (Access denied for user ‘root’@‘localhost’ (using password: YES))。org.springframework.transaction.CannotCreateTransac...

2019-08-15 16:13:56 9580

原创 Unhandled exception: java.lang.Exception

Unhandled exception: java.lang.Exception。检查代码后发现是一个很睿智的问题。因为这个方法有捕捉异常,在这个没有trycatch,所以会 报错。加上trycatch就ok了。...

2019-08-05 17:43:13 11749 2

原创 Uncaught TypeError: s.split is not a function

Uncaught TypeError: s.split is not a function。课后用easyui写修改,吧用户信息赋值给表单的时候出现的问题。后台不报错,前台报错。一头雾水的报错信息,感觉和我写的完全没关系。后来经过简单的排查,是json返回给前台的日期格式出现的问题。打印出来的日期信息。现在知道问题了,就很好解决了,在实体类相应的日期属性加上格式化的注解就ok了。@...

2019-07-23 20:34:35 6929

原创 No converter found for return value of type: class com.alibaba.fastjson.JSONArray

No converter found for return value of type: class com.alibaba.fastjson.JSONArray今天用easyui插件无刷新获取后台数据,渲染前端时失败,报错。前台报错,后台好像没报错。经过调试,前台的请求正确,后台也有相应的数据,但是没办法渲染到前端,所以应该是前台没办法解析后台返回的json数据才出现的问题。解决办法:...

2019-07-19 20:27:55 572

原创 ssm框架下使用ajax,返回到前台的数据乱码

ssm框架下使用ajax,返回到前台的数据乱码。解决方法: @RequestMapping(value = "/userlist" , method = RequestMethod.POST , produces = "application/json; charset=utf-8")

2019-07-18 22:00:36 394

原创 ideaMavenweb项目:nested exception is java.lang.NoSuchMethodError

ideaMavenweb项目报错:nested exception is java.lang.NoSuchMethodError原因是我写的方法maven项目没编译到,重新编译maven项目即可。我都是直接删除target编译后的文件,再重启tomcat。...

2019-07-14 16:36:55 3168

原创 SpringSecurity下报错A universal match pattern ('/**') is defined before other patterns......

今天在写SpringSecurity框架的课后代码出现了如下问题(启动tomcat报错):Caused by: java.lang.IllegalArgumentException: A universal match pattern (’/**’) is defined before other patterns in the filter chain, causing them to be...

2019-07-12 23:25:05 1792

原创 Handler dispatch failed; nested exception is java.lang.NoSuchMethodError

今天晚上在课后代码时,出现了一个很奇怪的bug。Handler dispatch failed; nested exception is java.lang.NoSuchMethodError翻译过来意思是:处理程序调度失败,嵌套异常,找不到方法。一开始以为是自己的mapper层写错了,后来进过检查,mapper层虽然有问题,但是和这个bug没有什么关系。然后重新编译项目(maven项目)...

2019-07-12 00:32:52 10444 3

原创 mybatis一对一嵌套查询

mybatis一对一嵌套查询。今天上课有讲到的嵌套查询,刚开始写的时候因为第一次接触,所以出现的很大的问题,刚开始写的很乱。映射文件。mapper接口。正确写法是:要好好记住了。...

2019-07-12 00:07:31 385 1

原创 idea显示数据前台出现Failed to load resource: the server responded with a status of 500 ()

idea显示数据前台出现Failed to load resource: the server responded with a status of 500 (),后台不报错。检查后发现是jsp页面出现了一个很睿智的问题。因为数据是要联表查,所以在mybitis里配了一对一的的关系。实体类里加了所需数据的类变量。所以问题就很明显了,jsp页面里应改为这样。用实体类里面的类对象点出来...

2019-07-11 17:30:15 6189

原创 idea启动tomcat报404 failed to load resource:the server responded with a status of 404(Not Fount)

idea启动tomcat报404。failed to load resource:the server responded with a status of 404(Not Fount)截图没了 ,,原因是maven里的jar出现的问题,Dependencies里面有报错,这个时候吧相应报错的jar删除,再撤回保存就可以了报错标记那里会有红色波浪。...

2019-07-11 17:10:45 5894

原创 2019.7.9(mybatis报错) Could not set parameters for mapping。

分页带参查询时,控制台报错(主要报错信息):org.apache.ibatis.type.TypeException: Could not set parameters for mapping中文翻译:无法设置映射的参数吧自己映射文件里的#{参数}改成${参数}就好了...

2019-07-09 02:34:24 455

空空如也

空空如也

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

TA关注的人

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