ApplicationContext提供了三种方式实现:

1.ClassPathXmlApplicatinContext;

2.FieSystemXmlApplicationContext;

3.XmlWebApplicationContext.

在调用过程中出现以下错误:

The constructor FileSystemXmlApplicationContext(String) refers to the missing type BeansException;

翻译过后是缺少BeansException类型,

解决方法添加org.springframework.beans.jar.