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