Looks like the validation that checks for a matching @Import annotation for the bean registrar doesn't recognize imports on the main application class. Having the @Import on a regular @Configuration class works (makes the validation marker go away), but not when put on the class annotated with @SpringBootApplication.