报告 XML 应用程序上下文中引用的错误文件。
示例:
<beans> <import resource="imported-app-context.xml"/> <import resource="banner.txt"/>// 报告“资源类型不正确”,因为此处需要 Spring XML 应用程序上下文 </beans>