springboot auto-configuration 自动装配功能
springboot 自动配置介绍 在springboot官网给出了如下介绍: Spring Boot auto-configuration attempts to automatically configure your Spring application based on the jar dependencies that you have added. For example, if HSQLDB is on your classpath, and you have not manually configured any database connection beans, then Spring Boot auto-configures an in-memory database.
springboot的auto-configuration设计目的是自动的为你添加的依赖jar进行装配,例如:在你的环境
共有 0 条评论