You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Spring 5 and 6 ResponseEntity#getStatusCode methods are not compatible.
When using this library with Spring 6 / Spring Boot 3 you'll get the following error:
org.springframework.http.HttpStatus org.springframework.http.ResponseEntity.getStatusCode()'
java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.ResponseEntity.getStatusCode()'
at at.porscheinformatik.weblate.spring.WeblateMessageSource.loadCodes(WeblateMessageSource.java:407)
at at.porscheinformatik.weblate.spring.WeblateMessageSource.loadTranslation(WeblateMessageSource.java:335)
at at.porscheinformatik.weblate.spring.WeblateMessageSource.loadTranslations(WeblateMessageSource.java:305)
at at.porscheinformatik.weblate.spring.WeblateMessageSource.getAllProperties(WeblateMessageSource.java:439)
The text was updated successfully, but these errors were encountered:
Spring changed the API of ReponseEntity with 6.x so that code compiled
with Spring 5.x will not work anymore. As a workaround we use
getStatusCodeValue instead of getStatusCode to make the library work
with both spring versions.
Also cleanup error handling of CompletableFuture data loading
Closes#59
Spring changed the API of ReponseEntity with 6.x so that code compiled
with Spring 5.x will not work anymore. As a workaround we use
getStatusCodeValue instead of getStatusCode to make the library work
with both spring versions.
Also cleanup error handling of CompletableFuture data loading
Closes#59
Spring changed the API of ReponseEntity with 6.x so that code compiled
with Spring 5.x will not work anymore. As a workaround we use
getStatusCodeValue instead of getStatusCode to make the library work
with both spring versions.
Also cleanup error handling of CompletableFuture data loading
Closes#59
Spring changed the API of ReponseEntity with 6.x so that code compiled
with Spring 5.x will not work anymore. As a workaround we use
getStatusCodeValue instead of getStatusCode to make the library work
with both spring versions.
Also cleanup error handling of CompletableFuture data loading
Closes#59
It seems that Spring 5 and 6 ResponseEntity#getStatusCode methods are not compatible.
When using this library with Spring 6 / Spring Boot 3 you'll get the following error:
The text was updated successfully, but these errors were encountered: