摘要: 其实也非常简单,只要三步就可以实现: 在工程里面添加spring-boot-autoconfigure和spring-boot-configuration-processor依赖包。 <dependency> <groupId>org.springframework.boot</groupId> < 阅读全文
posted @ 2025-05-18 19:23 刘文江 阅读(43) 评论(0) 推荐(0)
摘要: spring boot 3.x 版本,使用META-INF/spring路径,指定配置文件,org.springframework.boot.autoconfigure.AutoConfiguration.imports来代替了Spring boot 2.x版本的spring.factories模式 阅读全文
posted @ 2025-05-18 03:53 刘文江 阅读(96) 评论(0) 推荐(0)