摘要: 如何使用: 我们只需要在pom.xm文件中配置启动器即可:导入了数据源 JDBC 还有事务 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</arti 阅读全文
posted @ 2022-03-06 19:05 qwedfrgh 阅读(47) 评论(0) 推荐(0)
摘要: 原理: springboot应用启动的时候,发现是web应用时 web应用会创建web版本的ioc容器ServetWebServerApplicationContext; ServetWebServerApplicationContext启动时会寻找ServletWebServerFactory,来 阅读全文
posted @ 2022-03-06 18:43 qwedfrgh 阅读(51) 评论(0) 推荐(0)