-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed as not planned
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
After upgrading to SB 3.5.0, and using org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.8 (latest), a method rename is causing method not found at start-up:
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springdoc.core.providers.HateoasHalProvider.isHalEnabled(HateoasHalProvider.java:81)
The following method did not exist:
'boolean org.springframework.boot.autoconfigure.hateoas.HateoasProperties.getUseHalAsDefaultJsonMediaType()'
The calling method's class, org.springdoc.core.providers.HateoasHalProvider, was loaded from the following location:
jar:file:/Users/silviu.burcea/.m2/repository/org/springdoc/springdoc-openapi-starter-common/2.8.8/springdoc-openapi-starter-common-2.8.8.jar!/org/springdoc/core/providers/HateoasHalProvider.class
The called method's class, org.springframework.boot.autoconfigure.hateoas.HateoasProperties, is available from the following locations:
jar:file:/Users/silviu.burcea/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.5.0/spring-boot-autoconfigure-3.5.0.jar!/org/springframework/boot/autoconfigure/hateoas/HateoasProperties.class
The called method's class hierarchy was loaded from the following locations:
org.springframework.boot.autoconfigure.hateoas.HateoasProperties: file:/Users/silviu.burcea/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.5.0/spring-boot-autoconfigure-3.5.0.jar
This must either be reverted or at least mentioned in 3.5.0 release notes. I have reported it to springdoc team, for their awareness: springdoc/springdoc-openapi#3005
I'm happy to contribute once it's clear which project needs to change.
Offending commit, for context: 964abef
EAlf91, CasaSky, samuelstein, dmitry-weirdo, arispiatti and 1 more
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply