Bug专栏
sendear
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用mybatis-plus时,加入了一个全局格式化时间的配置,结果报错com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException
目录标题出现问题原因【Jackson反序列化错误】:问题解决方法【全局的】:第二种解决办法【局部的】 出现问题原因【Jackson反序列化错误】: 前端 前端在保存或者更新操作的时候,把vo中不包含的字段也放入了参数中。 后端 后端加入了时间格式化的配置如下: package com.grandsun.essleybackground.config; import com.fasterxml.jackson.databind.DeserializationFeature; import原创 2020-11-10 11:29:19 · 1715 阅读 · 0 评论 -
Mac 因为授权错误,导致免费版Ngrok启动不了的问题
因为授权错误,导致免费版Ngrok启动不了的问题 出现原因: 执行 ./ngrok authtoken c0da7ac4a7fa5ea6 启动 chmod a+x ngrok ./ngrok http localhost:9000 报错 解决方案 再次执行 ./ngrok authtoken 删除yml文件下的authtoken ~/.ngrok2/ngrok.yml 友情链接 ngrok的使用:https://www.jianshu.com/p/8a原创 2020-07-03 22:14:58 · 887 阅读 · 0 评论 -
java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an in
websocket发送接收消息过程中报错: java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method 解决办法: 加锁 synchronized (session) { session.sendMessage(new TextMessage(message)); } ...原创 2020-06-13 09:19:51 · 6848 阅读 · 0 评论 -
Could not resolve view with name wonderfulCase/list in servlet with name springmvc
Could not resolve view with namejavax.servlet.ServletException: Could not resolve view with name 'qibao/wonderfulCase/list' in servlet with name 'springmvc' javax.servlet.ServletException: Could not r...原创 2020-03-18 18:23:56 · 265 阅读 · 0 评论 -
java.lang.ArithmeticException: Non-terminating decimal expansion no exact
问题出现原因: 当我们使用BigDecimal做除法divide时,可能出现这个异常。 出现场景: BigDecimal sales; BigDecimal GMV; bug代码: BigDecimal rate = (sales!=null && GMV != null)?sales.divide(GMV):BigDecimal.ZERO; 解决方案: (sales!=null && GMV != null)?sales.divide(GMV,4, RoundingM原创 2020-05-14 10:29:59 · 296 阅读 · 0 评论 -
the request was rejected because its size (37524618) exceeds the configured maximum (10485760)
问题bug: "Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (37524618) exceeds the configured maximum原创 2020-05-22 14:52:28 · 702 阅读 · 0 评论 -
Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the
运行时报错: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. 解决方案: 在启动类上加: @EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})原创 2020-05-29 21:03:22 · 7848 阅读 · 1 评论 -
Error creating bean with name quartzJobInitConfig: Unsatisfied dependency expressed through field
启动SpringBoot+MybatisPlus架构的项目时报错: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzJobInitConfig': Unsatisfied dependency expressed through field 'jobTaskService'; nested exception is org.springframewor原创 2020-05-30 09:46:19 · 8380 阅读 · 3 评论
分享