Skip to content

[structure view] main application package is not yet found for annotation declarations #1675

Closed

Description

@martinlippert

If a project does not have a bean defined with @SpringBootApplication, but instead defines an annotation with @SpringBootApplication(as a library, for example), the corresponding root package of the project is not found (by the structure view and the modulith service), since they look for beans with that annotations only.

We need to capture all type and annotation declarations to identify all the elements that are annotated with @SpringBootApplication, keep those elements in the index and use that when looking for the root package of a project.

Activity

  1. added this to the 5.0.0.RELEASE milestone on Oct 16, 2025
  2. added a commit that references this issue on Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions