日常bug
张晗加油
java程序员成长历程
展开
-
不知道传什么类型参数
public TextMessage(CharSequence payload) { super(payload.toString(), true); this.bytes = null;}这个参数可以传String,原因就是String实现了CharSequence原创 2020-04-29 17:55:20 · 202 阅读 · 0 评论 -
redis存储java对象时LocalDateTime,取值时报错解决
在属性值加这俩注解@JsonDeserialize(using = LocalDateTimeDeserializer.class)@JsonSerialize(using = LocalDateTimeSerializer.class)private LocalDateTime creatTime;原创 2020-04-03 14:04:19 · 908 阅读 · 0 评论 -
springboot2.1.6(目前最新版本)整合log4j2 日志包冲突解决方案
SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/F:/software/apache-maven-3.5.0-bin/apache-maven-3.5.0/repo/ch/qos/logback/logback-classic/1.2.3/logback-classic-...原创 2019-07-17 09:43:17 · 2394 阅读 · 0 评论