
异常
lee_126
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring事务使用
spring事务要合理使用,否则当出现异常时,会出现部分数据回滚,部分数据已经修改,造成数据不一致性。1、错误示例一要实现的功能:新增订单,先插入订单主表,然后在新增订单详情表。如果有异常,回滚。 @Transactional //错误(1) @Override public BaseResultVo insert(OrderDTO dto) { Or...原创 2020-06-29 15:12:14 · 3725 阅读 · 0 评论 -
org.apache.poi,openxml4j.exceptions.openxml4jruntimeexception:
报表导出时报异常:org.apache.poi,openxml4j.exceptions.openxml4jruntimeexception:fail to save:an error occurs while saving the package:the part /docProps/core.xml fail to be saved in the stream with marshalle...原创 2020-04-22 14:37:16 · 11894 阅读 · 1 评论 -
异常:java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to XXX。
调用微服务接口后,对List进行遍历出错。java.util.LinkedHashMap cannot be cast XXVO>>>>>>>>>>>>>> java.lang.ClassCastException: java.util.LinkedHashMap cannot be XXVO at jav...原创 2020-03-07 19:02:59 · 5188 阅读 · 0 评论 -
ERROR io.seata.rm.datasource.sql.struct.cache.AbstractTableMetaCache
2020-03-06 12:55:22.256 [mro: ][http-nio-8003-exec-7] ERROR io.seata.rm.datasource.sql.struct.cache.AbstractTableMetaCache - get table meta error:Failed to fetch schema of sender_order_detailjava...原创 2020-03-06 13:11:57 · 2737 阅读 · 0 评论 -
全局异常 element cannot be mapped to a null key >>>>>>>>>>>>>>
全局异常 element cannot be mapped to a null key >>>>>>>>>>>>>>:2019-12-24 10:29:10.363 [tms: d6e158839dd7ea27][http-nio-8008-exec-8] ERROR com.runlion.sat.tool...原创 2019-12-24 11:45:47 · 24524 阅读 · 3 评论 -
全局异常 The temporary upload location [/tmp/tomcat.1890695213050599631.9052/work/Tomcat/localhost/ROOT
早上导入报表出现错误,查看elk日志。1. elk ,filter.fields.appname is prod-gate-error-log.错误日志:2019-11-13 14:51:43.465 [gate: c0d670b5c5e6b6c3][http-nio-9052-exec-6] ERROR com.runlion.sat.tools.handler.Ex...原创 2019-11-14 17:26:45 · 220 阅读 · 0 评论 -
[ERROR] [ERROR] The projects in the reactor contain a cyclic reference:
[ERROR] [ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.runlion.sat.redis:sat-redis:1.0-SNAPSHOT'}' and 'Vertex{label='com.runlion.sat.tools:sat-tools:1...原创 2019-10-22 17:51:20 · 2046 阅读 · 0 评论 -
全局异常 Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported >
占用库存时,会发送消息,消息接收者会处理具体的库存占用逻辑。一直报错。。。。2019-10-17 18:33:48.344 [mq: 0481f4b0bcf6ca8a][http-nio-8004-exec-3] ERROR com.runlion.sat.tools.handler.ExceptionHandler - >>>>>>>>&...原创 2019-10-18 11:20:20 · 897 阅读 · 0 评论 -
Can not deserialize instance of java.lang.Boolean out of START_OBJECT token
使用mq发消息时,消息体使用一个实体类接收,消息接收方反序列化时总是报错:2019-10-10 13:29:34.609 [mro: e0ff3fbce8cfa095][http-nio-8002-exec-7] ERROR com.runlion.sat.tools.handler.ExceptionHandler - >>>>>>>>>...原创 2019-10-10 10:51:49 · 4801 阅读 · 0 评论 -
uncategorized SQLException for SQL []; SQL state [HY000]; error code [1366]; Incorrect string value:
预发环境出现一个问题,2019-09-17 18:39:00.760 [mro: a2ec1605f7f56edd][http-nio-8002-exec-2] ERROR com.runlion.sat.tools.handler.ExceptionHandler - >>>>>>>>> 全局异常 Incorrect string va...原创 2019-09-17 19:59:05 · 9477 阅读 · 0 评论 -
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
最近在学习SpringBoot时,有的时候明明项目运行起来没有问题,但是Console控制台会报错,比如说如下的问题异常提示: 由此我们可以看出,报出错误的地方主要是slf4j的jar包,而故障码中“Failed to load class ’org.slf4j.impl.StaticLoggerBinder‘”的意思则是“加载类文件org.slf4j.impl.S...转载 2019-09-04 11:52:44 · 332 阅读 · 0 评论 -
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported >>>>>>>>>>>>>>
2019-06-21 16:37:23 [http-nio-8003-exec-1] ERROR c.r.s.t.h.ExceptionHandler - >>>>>>>>> 全局异常 Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported &g...原创 2019-06-21 17:37:11 · 3433 阅读 · 0 评论