-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpringDoc cannot be used in a project with org.springframework.boot:spring-boot-starter-validation:3.4.0 #2795
Comments
It looks like problem in Spring Framework - the class that triggers the error comes from there (and it appears to be new in 6.2.0) |
The same issue when using Spring Boot 3.4.0 version. What is the solution or work around ? |
In one of my projects, having Spring Boot 3.4.0 and springdoc-openapi-starter-webmvc-ui 2.7.0 the application fails to start. `*************************** Description: An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, org.springdoc.webmvc.ui.SwaggerWelcomeCommon, was loaded from the following location:
The called method's class, org.springdoc.ui.AbstractSwaggerWelcome, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action: Correct the classpath of your application so that it contains compatible versions of the classes org.springdoc.webmvc.ui.SwaggerWelcomeCommon and org.springdoc.ui.AbstractSwaggerWelcome |
As I said, the problem is in Spring Framework 6.2.0. It is already fixed in 6.2.1-SNAPSHOT and will be part of 6.2.1 release, that will be included with Spring Boot 3.4.1 release later this month. Current workaround is to force snapshot version of framework, as follows
spring-projects/spring-framework#33936 |
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks @krezovic, sorry for being off topic. |
Describe the bug
much information as possible:
Just use Gradle - bootjar
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots

If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: