摘要:
Spring boot对比Spring之怎么叫自动配置 Spring配置JDBC 1:基于xml <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" destroy-method="close"> <propert 阅读全文
posted @ 2021-06-30 23:52
hippoppower
阅读(78)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2021-06-30 23:41
hippoppower
阅读(33)
评论(0)
推荐(0)
摘要:
跨包是无法从spring上下文中get的出来的 三种解决办法 阅读全文
posted @ 2021-06-30 18:55
hippoppower
阅读(48)
评论(0)
推荐(0)
摘要:
1.@Configuration使用 官方文档描述: 用@Configuration注释类表明其主要目的是作为bean定义的源 @Configuration类允许通过调用同一类中的其他@Bean方法来定义bean之间的依赖关系代码示例: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 阅读全文
posted @ 2021-06-30 12:09
hippoppower
阅读(220)
评论(0)
推荐(0)

浙公网安备 33010602011771号