Skip to content

Fix first spring boot run failures#95

Merged
cbullinger merged 4 commits intomongodb:developmentfrom
ozgliderpilot:bugfix/spring-boot-run-failures
Apr 15, 2026
Merged

Fix first spring boot run failures#95
cbullinger merged 4 commits intomongodb:developmentfrom
ozgliderpilot:bugfix/spring-boot-run-failures

Conversation

@ozgliderpilot
Copy link
Copy Markdown
Contributor

  • Add lombok annotation processor to avoid cannot find symbol errors during ./mvnw clean spring-boot:run. Introduce better way to exclude lombok jars from the build artefacts.
  • Use double-quotes to escape & in the MONGODB_URI as otherwise it will not be setup properly

…during `./mvnw clean spring-boot:run`. Introduce better way to exclude lombok jars from the build artefacts.
Comment thread mflix/server/java-spring/pom.xml Outdated
Comment thread mflix/server/java-spring/pom.xml
Comment thread mflix/server/java-spring/pom.xml Outdated
Comment thread mflix/server/java-spring/pom.xml
Remove duplicate lombok dependency, merge the two maven-compiler-plugin
blocks, drop redundant source/target/encoding settings inherited from
spring-boot-starter-parent, and pin the annotation processor version
via ${lombok.version}.
Copy link
Copy Markdown
Collaborator

@cbullinger cbullinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@cbullinger cbullinger merged commit b49a178 into mongodb:development Apr 15, 2026
4 checks passed
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