摘要: spring.factories 文件是springboot提供的一种实例化bean方式 org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.*.serviceimpl,config2 springboot加载jar包 阅读全文
posted @ 2020-11-26 21:06 culater 阅读(730) 评论(0) 推荐(0) 编辑
摘要: lombok中的注解都是很有实际意义的注解简化日常开发 lombok是依赖jar插件的 编译后的代码和之前是一样的 只是让代码更加整洁易读 @Data 自动生成setter&getter tostring 方法 @Slf4j 注入log 属性 减少每个类中写一行log属性定义 @RequiredAr 阅读全文
posted @ 2020-11-26 20:56 culater 阅读(79) 评论(0) 推荐(0) 编辑