javaBug
大鹏客
这个作者很懒,什么都没留下…
展开
-
lombok中@Builder建造者模式对于实体类属性有集合时的bug
当我们使用lombok插件时,对实体类加@Builder注解时: @Data @NoArgsConstructor @AllArgsConstructor @Builder public class User { private Long id; private String name; private String pass; private Integer age; private Integer roleId; private Map<S原创 2020-08-13 19:56:24 · 681 阅读 · 0 评论 -
SSM框架在Spring-context.xml注入mybatis的log4j日志的bug
SSM框架在Spring-context.xml注入mybatis的log4j日志的bug {dataSource-1} closing … {dataSource-1} closed [ERROR] Context initialization failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘userDao’ defined in file [D:原创 2020-08-13 16:13:53 · 291 阅读 · 0 评论 -
slf4j日志框架遇到的问题
使用slf4j日志框架遇到的问题,引入slf4j依赖时出现的bug SLF4J: No SLF4J providers were found. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details. 解决办法:将pom中slf4j的依赖中的 <scope>test<原创 2020-08-11 16:21:57 · 369 阅读 · 0 评论