Skip to content

Wrong multiple choices of SpringBootApplication #1587

Closed

Description

@Maze-fr

Describe the bug

In the "Spring Apps" explorer, when I click on the "run arrow", it asks me to choose between multiple @SpringBootApplication classes : the one from the main folder and the one from the test folder for special tests purpose.

Environments

  • OS: Windows 11 Enterprise with WSL2 Debian 12
  • VS Code version: 1.101.2
  • Extension version 1.63.0

To Reproduce

  1. Create an empty Spring Boot project.
  2. Copy / paste the @SpringBootApplication class into the test folder with a different name.
  3. Got to run the project from the "Spring Apps" explorer.
  4. A popup menu appears on top to chose between the 2 @SpringBootApplication classes.

Expected behavior

When I run the project from the "Spring Apps" explorer, it should ignore the @SpringBootApplication class from the test folder, because it is irrelevant to use it.

Activity

  1. added this to the Backlog milestone on Jul 7, 2025
  2. martinlippert commented on Aug 24, 2026

    @martinlippert
    Member

    This belongs to the Spring Boot Dashboard for VSCode project, so I created this one here: microsoft/vscode-spring-boot-dashboard#420

    In addition to that, I am going ahead and fix the same issue in the Eclipse-based boot dashboard implementation... :-)

  3. martinlippert commented on Aug 24, 2026

    @martinlippert
    Member

    Corresponding PR for the VSCode extension: microsoft/vscode-spring-boot-dashboard#421

  4. added a commit that references this issue on Aug 24, 2026
  5. martinlippert commented on Aug 24, 2026

    @martinlippert
    Member

    Now waiting for the PR to be reviewed, merged and finally verified, then we can close this issue here.

  6. martinlippert commented on Sep 4, 2026

    @martinlippert
    Member

    PR on the VSCode side is merged, therefore closing this one now.

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

Metadata

Metadata

Assignees

Labels

for: vscodetype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions