-
Notifications
You must be signed in to change notification settings - Fork 57
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
Readiness for Spring Boot 3? #250
Comments
Support for Spring Boot 3 is on our roadmap, but the related work has not started yet. |
I just tried out to build the project using spring data 3.0.1. The only compile incompatibilities are the imports in For compatibility reasons The Spring data parent requires compilation using Java 17 for Spring Boot 3. It seems Arango Spring Data needs a new Major version here which is no longer compatible with Spring Boot 2. But I think the source could be kept compatible without the need for different versions (for more details, see Spring Data 2022.0 (Turing) Release Notes). |
…FailureException for unknown revision
But spring support for 2.7.x will end soon as per this page https://spring.io/projects/spring-boot#support |
Yes, the time is ticking. More and more spring users move over to the spring 3. |
…FailureException for unknown revision
Yes, this was a show-stopper for me with using ArangoDB. |
@rashtao I am thinking of dropping JodaTime support for the Spring Boot 3 release, what do you think? |
…nknown id" This reverts commit 762276c.
Merged #280 which provides Spring Framework 6 compatibility. |
Hi @rashtao when latest release for springBoot 3 got released? |
It has not been released yet. |
Released https://github.com/arangodb/spring-data/releases/tag/v4.0.0 (based on Spring Framework 6) and https://github.com/arangodb/spring-boot-starter/releases/tag/v3.1-0 (based on Spring Boot 3). |
Hi @rashtao , Thanks for informing. |
@sushmalpu Can you please check, if your logs with Spring Boot 2 have an entry like "Overriding bean definition for bean 'arangoTemplate'"? Arango Spring Boot starter has an own implementation Do you really need your own configuration? If yes, you should consider one of:
Anyway, this is not a bug of Arango Spring Boot Starter, imho. |
Hi @aburmeis , Thanks for replying. Actually we are creating our own ArangoDb starter library and for that we are creating ServiceArangoTemplateConfiguration implements ArangoConfiguration and here we are overridaing arangoTemplate bean with new bean name and we are using this library in other class, but getting conflicts while creating beans. This solution worked fine with spring boot 2.7.X but causing below error on 3.1.2 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'arangoTemplate' defined in class path resource [com/testProject/cloud/dbaas/client/arangodb/configuration/ServiceArangoTemplateConfiguration.class]: No matching factory method found on class [com.testProject.cloud.dbaas.client.arangodb.configuration.ServiceArangoTemplateConfiguration]: factory bean 'com.testProject.cloud.dbaas.client.arangodb.configuration.ServiceArangoTemplateConfiguration'; factory method 'arangoTemplate()'. Check that a method with the specified name exists and that it is non-static. |
@sushmalpu |
sure, Thanks |
New arangodb user here. Nice project! Tried using this on Spring Boot 2.7.5 project and it worked fine but there are number of changes/depreciations beyond that when you get to Spring Boot 3 that prevent it from working out of the box.
I won't list the errors now as there are several (depending how far ahead the dependencies are bumped)
There is also the depreciation of spring.factories for autoconfiguration that prevents autoconfiguration from being detected in the starter.
Just seeing if anyone has looked at this yet or if it was on the roadmap as Spring Boot 3 GA is less than a month away.
Thanks!
Thanks
The text was updated successfully, but these errors were encountered: