![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java基础
weixin_41575839
这个作者很懒,什么都没留下…
展开
-
Logback日志配置参考-按照日期/level切分
springboot添加logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> <!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL,如果设置为WARN,则低于WARN的信息都不会输出 --> <!-- scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true --> <!-- s原创 2020-05-15 14:14:21 · 558 阅读 · 0 评论 -
List和Set和Map之间的转换
在看集合源码的时候发现了一件有趣的事:Java自带的集合间转换 先看一下ArrayList集合源码,发现ArrayList默认有个参数为Collection的构造方法 /** * Constructs a list containing the elements of the specified * collection, in the order they are retu...原创 2019-07-09 18:06:45 · 257 阅读 · 0 评论 -
SpringBoot Unable to find main class问题
1,去掉springboot的maven插件 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plug...原创 2019-08-28 17:54:06 · 300 阅读 · 0 评论