Skip to content

Remove redundant WebUI @SpringBootApplication entrypoint#61

Merged
lukepring merged 2 commits intoSprint-2-Jackfrom
copilot/sub-pr-55-please-work
Mar 20, 2026
Merged

Remove redundant WebUI @SpringBootApplication entrypoint#61
lukepring merged 2 commits intoSprint-2-Jackfrom
copilot/sub-pr-55-please-work

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Having two @SpringBootApplication classes (StockComparisonApplication and presentation.WebUI) created an ambiguous entrypoint situation, confusing IDE run configurations and Spring's component scanning.

Changes

  • Deleted WebUI.java — redundant second entrypoint with no unique logic; just re-ran SpringApplication with an explicit scanBasePackages
  • StockComparisonApplication remains as the single authoritative entrypoint: already declared as mainClass in pom.xml and owns the @Bean definitions for PriceRepository and MarketDataService

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: lukepring <68820847+lukepring@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback from PR #55 for Sprint 2 enhancements Remove redundant WebUI @SpringBootApplication entrypoint Mar 20, 2026
Copilot AI requested a review from lukepring March 20, 2026 15:56
@lukepring lukepring marked this pull request as ready for review March 20, 2026 15:57
@lukepring lukepring merged commit 4468584 into Sprint-2-Jack Mar 20, 2026
@lukepring lukepring deleted the copilot/sub-pr-55-please-work branch March 20, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants