bug收集
文章平均质量分 56
收集平时遇到的各种bug以及解决方法。
风痕funhence
因此很有趣
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
bug:1、sqlSessionFactory 2、feign.slf4j.Slf4jLogger 3、missing ServletWebServerFactory bean. 4、long精度丢失
bugProperty 'sqlSessionFactory' or 'sqlSessionTemplate' are required问题简述问题解决Caused by: java.lang.ClassNotFoundException: feign.slf4j.Slf4jLogger问题简述问题解决Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.问题简述问题解决l原创 2021-09-30 16:08:43 · 532 阅读 · 0 评论 -
bug:1、Could not set parameters for mapping 2、@Value不起作用 3、@ComponentScan 4、缺少redis依赖
文件大小Springboot限制问题:spring boot对文件的大小有限制,超出了文件的大小,在上传或者解析文件等一些操作会报错。org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileu原创 2021-09-30 16:08:37 · 192 阅读 · 0 评论 -
bug:1、文件大小限制 2、网关报错,需要排除web依赖
1、文件大小限制问题简述再进行文件上传时,有时候可能会失败,无法完成上传。问题解决Springboot限制spring boot对文件的大小有限制,超出了文件的大小,在上传或者解析文件等一些操作会报错。org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded; nested exception is java.lang.IllegalStateException原创 2021-09-30 15:47:27 · 655 阅读 · 0 评论 -
bug: 1、java后端获取系统时间或者前端传递的时间参数存入数据库时差八小时 2、Cordova is not defind
1、java后端获取系统时间或者前端传递的时间参数存入数据库时差八小时错误提示数据库存入的时间与系统时间或者前端传递的参数时差八小时问题简述这个问题相信很多人都遇到,也是常见的,虽然不难解决,但是记录一下,这个是因为jvm所使用的时区问题,与北京时间存在8小时的时差。问题解决这个问题经过查阅资料,有不少的解决办法,其中包括修改jvm所使用的时区等。那么如果只想数据库里面的数据是准确的,我们不妨在配置文件的数据库的链接后加上一句话:serverTimezone=GMT%2B82、Cordova原创 2020-10-13 23:31:53 · 425 阅读 · 0 评论 -
bug:1、the last packet sent successfully to the server was 0 milliseconds ago 2、avoid mutating a prop
1、the last packet sent successfully to the server was 0 milliseconds ago错误提示the last packet sent successfully to the server was 0 milliseconds ago问题简述在启动spring-boot项目时,会提示这个错误,这个问题十有八九是数据库连接的问题,因为数据库链接错误等导致项目启动时链接不上数据库问题解决果不其然,问题出在了配置文件,使用的数据库的url错误,原创 2020-10-13 23:21:21 · 368 阅读 · 0 评论 -
bug:have 2 and 1 different commits each, respectively.
have 2 and 1 different commits each, respectively.错误提示On branch dev Your branch and ‘origin/dev’ have diverged, and have 2 and 1 different commits each, respectively. (use “git pull” to merge the remote branch into yours) nothing to commit, working tree原创 2020-09-26 18:17:10 · 3085 阅读 · 0 评论 -
bug: feign调用 1、Read timed out executing GET 2、out of START_ARRAY token
1、Read timed out executing GET错误提示feign.RetryableException: Read timed out executing GET问题简述在微服务当中,通过feign调用其他服务,后台出现了这个报错,明显是超时的问题,究其原因,应该是被调用服务处理的太慢了,而feign默认的超时时间是一分钟,所以没有在规定的时间及时的返回,从而报错。问题解决我们只需要在配置文件重新规定超时时间就可以了,在yml文件中添加:2、out of START_ARRAY原创 2020-09-26 17:31:10 · 715 阅读 · 0 评论 -
bug:Column count doesn‘t match value count at row 1
问题背景及内容背景数据库操作报错内容Column count doesn't match value count at row 1原因及解决原因sql语句错误解决插入数据时sql语句编写的字段少了一列原创 2020-08-06 21:26:07 · 172 阅读 · 0 评论 -
bug:poi、Cannot get a STRING value from a NUMERIC cell
问题背景及内容背景处理excel表格的导入导出时,某列的数据类型处理不当,遇到该错误。.java文件: level.setDiffcult((int)c1.getNumericCellValue()); level.setScore((int)(c2.getNumericCellValue())); level.setContent(c3.getStringCellValue()); level.setAnswer(c4.getStringCellValue()); le原创 2020-08-06 21:11:54 · 549 阅读 · 0 评论 -
bug:Property or method “xxx“ is not defined on the instance but referenced during render.
问题背景及内容背景学习Vue过程中,学习接受父组件传来的值时,使用v-bind:f_name=“xxxx”,遇到该错误。.vue文件:<HelloWorld v-bind:f_name="stirng小明"></HelloWorld>内容子组件Property or method "xxx" is not defined on the instance but referenced during render.原因及解决原因.vue文件标签内属性的使用。解决原创 2020-08-06 20:50:39 · 486 阅读 · 2 评论 -
bug:Could not resolve placeholder ‘xxx‘ in value “${xxx}
问题背景及内容背景学习微服务过程中,第一次接触.yml文件,在学习读取application.yml文件属性值的时候遇到该错误。application.yml文件:my: name:forzep age:12myController.java文件:@Value("${my.name}")private String name;内容org.springframework.beans.factory.BeanCreationException: Error creating bea原创 2020-08-06 20:18:19 · 1114 阅读 · 0 评论
分享