SpringBoot
泽虞生的Tap
这个作者很懒,什么都没留下…
展开
-
com.fasterxml.jackson.databind.exc.InvalidFormatException
目录异常描述:错误位置初现:追根溯源: 异常描述: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.util.Date` from String "2020-06-29T02:49:17.340+0000": not a valid representation (error: Failed to parse Date value '20原创 2020-07-04 15:06:44 · 3938 阅读 · 0 评论 -
Class path contains multiple SLF4J bindings 类路径中包含多个SLF4J的绑定
SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/G:/Software/Java/LocalWareMaven/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:fi.原创 2020-05-26 17:51:08 · 1233 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationNotAllowedException:Error
服务注册到Eureka时报错:Invocation of destroy method failed on bean with name 'scopedTarget.eurekaClient': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ...原创 2019-12-27 12:01:02 · 3185 阅读 · 0 评论 -
Springboot @Transactional 源码解读
基础知识:编码式事务处理:基于编码实现声明式事务处理:基于AOP (本篇文章基于此方式) 实现方式: 配置文件:xml事务规则声明 注解:@Transactional @Transactional 实现: 1.声明注解配置 DataSourceTransactionManager 也可使用注解@EnableTransactionManage...原创 2019-11-27 16:18:29 · 876 阅读 · 1 评论 -
转载:Shiro自定义过滤器匹配异常
自己追踪了很久的源码,最终还是没找到原因,直到看到这篇文章,赞,学到很多,码了。原文:http://www.hillfly.com/2017/179.html 最近忙着研究在Springboot上使用Shiro的问题。刚好就遇到个诡异事,百度Google也没找到啥有价值的信息,几番周折自己解决了,这里稍微记录下。自定义过滤器TOCShiro支持自定义过滤器大家都知道,也经常用,...转载 2018-11-27 13:39:28 · 1430 阅读 · 0 评论