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
Could you please update this repo for compatibility with Spring Boot 4.x and therefore Spring AI 2.x?
It is increasingly becoming a blocker as more and more projects are migrating to Spring Boot 4.
thanks for reaching out! We are aware of the situation and have a migration on our radar. I am unfortunately not able to give you a tangible timeline on this, though.
For the time being, let me note that it is possible (for some use-cases at least) to run Spring Boot v4 together with Spring AI v1. We do this in our sample app.
I will leave this ticket open as a tracker and reference also for other users who might have the same issue. We will notify you here once we have more info on a timeline for the migration.
Hi Jonas,
our team would also very much be interested in a spring-boot-4 update. I'm not sure it's a good idea to suggest in your sample that the library is compatible with spring-boot-4 when it is unclear at which point things break.
In our case, updating to spring-boot-4 does not work if we are trying to supply a custom BTP destination as documented here
Root cause is that the HttpHeaders.remove() function has changed in spring 7 which is somewhere down the call chain.
Activity
Jonas-Isr commentedon Aug 19, 2026
Hi @mweiler-sap,
thanks for reaching out! We are aware of the situation and have a migration on our radar. I am unfortunately not able to give you a tangible timeline on this, though.
For the time being, let me note that it is possible (for some use-cases at least) to run Spring Boot v4 together with Spring AI v1. We do this in our sample app.
I will leave this ticket open as a tracker and reference also for other users who might have the same issue. We will notify you here once we have more info on a timeline for the migration.
Best,
Jonas
Raphael-Kleindienst commentedon Aug 25, 2026
Hi Jonas,
our team would also very much be interested in a spring-boot-4 update. I'm not sure it's a good idea to suggest in your sample that the library is compatible with spring-boot-4 when it is unclear at which point things break.
In our case, updating to spring-boot-4 does not work if we are trying to supply a custom BTP destination as documented here
Root cause is that the HttpHeaders.remove() function has changed in spring 7 which is somewhere down the call chain.
vladimir-a-sap commentedon Oct 6, 2026
Hi Raphael, for transparency (and to reflect email communication here):
AI SDK team recently released an early v2 version (alpha) of the SDK with desired updates:
if your case is urgent, you can already start using this version.
the tradeoff is that we still may make few potentially breaking changes in v2.
we are actively working on this topic and it is our current top priority