我们用spring时会用ClassPathXmlApplicationContext来加载spring配置文件,就从它开始吧。 1、双击shhift,输入ClassPathXmlApplicationContext,找到该类 为了方便类文件定位到左侧目录,点开左侧设置图标,勾选Autoscroll from/to Source
2、查看类的继承关系ctrl+alt+u,看到如下图: