报告 @ImportResource 注解的 locations 属性中未解析的文件和目录以及 @ImportResource 元注解的相应别名属性。
locations
@ImportResource
示例:
@Configuration @ImportResource(locations = "classpath:META-INF/unknown-context.xml") // 报告 "无法解析文件 'unknown-context.xml'" public class MyConfiguration {...}