You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong multiple choices of SpringBootApplication #1587
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
Create an empty Spring Boot project.
Copy / paste the @SpringBootApplication class into the test folder with a different name.
Got to run the project from the "Spring Apps" explorer.
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
martinlippert commentedon Aug 24, 2026
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... :-)
martinlippert commentedon Aug 24, 2026
Corresponding PR for the VSCode extension: microsoft/vscode-spring-boot-dashboard#421
GH-1587: ignore @SpringBootApplication classes in test sources when d…
martinlippert commentedon Aug 24, 2026
Now waiting for the PR to be reviewed, merged and finally verified, then we can close this issue here.
martinlippert commentedon Sep 4, 2026
PR on the VSCode side is merged, therefore closing this one now.