ApplicationContext ac = new ClassPathXmlApplicationContext("applicationcontext.xml");从ClassPathXmlApplicationContext进入跟踪:这里我们记住this里的参数: configLocation:applicationContext.xml parent:null refresh:true super(parent)// 1.初始化父类 setConfigLocations(configLocations);// 2.设置本地的配置信息 // 3.完成Spring容器的初始化 if (refresh) { refresh(); }这篇我们主讲super(parent)! super(par...