摘要:
/*使用spring的方法获取容器中定义的对象信息*/ @Test public void test03(){ String path = "beans.xml"; ApplicationContext ac = new ClassPathXmlApplicationContext(path); i 阅读全文
posted @ 2021-02-26 00:44
渐行、渐远
阅读(318)
评论(0)
推荐(0)
摘要:
spring的ioc,由spring创建对象实现步骤:1. 创建maven项目2. 加入maven的依赖spring的依赖 版本5.2.5 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</ 阅读全文
posted @ 2021-02-26 00:29
渐行、渐远
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号