Skip to content

bean registrar validation flags warning when imported on application #1749

Closed as not planned

Description

@martinlippert

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.

Activity

  1. added this to the 5.1.0.RELEASE milestone on Dec 22, 2025
  2. added
    for: eclipse
    for: vscode
    on Dec 22, 2025
  3. martinlippert commented on Jan 12, 2026

    @martinlippert
    MemberAuthor

    Can't reproduce this, so closing this one as works as designed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodestatus: works-as-designedtheme: validationtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions