常见异常 BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the Applic 包不对,tomcat 包引入 配置文件 内格式 ,写法错误。