Skip to content

Comments

Fix Spring Boot startup in debug Maven profiles#3598

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/debug-spring-boot-startup
Closed

Fix Spring Boot startup in debug Maven profiles#3598
Copilot wants to merge 2 commits intomasterfrom
copilot/debug-spring-boot-startup

Conversation

Copy link
Contributor

Copilot AI commented Feb 20, 2026

Spring Boot immediately stops when running with debug profiles (-Pdebug-main) because mainClass is only configured in the default profile, which gets deactivated when a specific profile is selected.

Changes

  • Added <mainClass>org.roda.wui.RODA</mainClass> to spring-boot-maven-plugin configuration in:
    • debug-main
    • debug-main-local
    • debug-main-central
    • debug-portal
<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <mainClass>org.roda.wui.RODA</mainClass>
        <!-- ... -->
    </configuration>
</plugin>

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: hmiguim <1252710+hmiguim@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Spring Boot application startup issue Fix Spring Boot startup in debug Maven profiles Feb 20, 2026
Copilot AI requested a review from hmiguim February 20, 2026 12:55
@luis100 luis100 closed this Feb 20, 2026
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.

3 participants