Skip to content

Conversation

Joyabrata001
Copy link

@Joyabrata001 Joyabrata001 commented Oct 3, 2025

Problem:
When accessing Swagger UI, the project crashes with the following error:

Handler dispatch failed: java.lang.NoSuchMethodError: 'void org.springframework.web.method.ControllerAdviceBean.<init>(java.lang.Object)'

Reason: Version incompatibility between springdoc-openapi-starter-webmvc-ui:2.6.0 and Spring Boot 3.5.x

Solution: Updated springdoc-openapi-starter-webmvc-ui to 2.7.0

Verification:

Hacktoberfest Note:
I am a newbie contributing for the first time. Apologies for any mistakes.

@Joyabrata001 Joyabrata001 changed the title Fix: Update Springdoc version to 2.7.0 for Spring Boot 3.5.x compatibility Fix: Update Springdoc version to 2.7.0 to resolve Swagger UI crash on Spring Boot 3.5.x Oct 3, 2025
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.

1 participant