Inspectopedia Help

Unresolved file references in @ImportResource locations

Reports unresolved files and directories in locations attributes of @ImportResource annotations and the corresponding aliased attributes of the @ImportResource meta annotations.

Example:

@Configuration @ImportResource(locations = "classpath:META-INF/unknown-context.xml") // reports "Cannot resolve file 'unknown-context.xml'" public class MyConfiguration {...}

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Spring, 233.SNAPSHOT

Last modified: 13 July 2023