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
Bug description spring-ai-retry/pom.xml contains spring-webflux. This is an invasive library (conflicts with spring-webmvc) and should not be added as a dependency without a good reason. There is no reason: no class from spring-webflux is imported. There is one import of org.springframework.web.client.ResponseErrorHandler, but it's provided by much smaller spring-web. So the dependency should be on spring-web instead.
Environment
Spring AI 1.0.0 Release
Steps to reproduce
Check spring-ai-retry/pom.xml
Expected behavior
No spring-webflux dependency
Minimal Complete Reproducible example
N/A (dependencies issue)
The text was updated successfully, but these errors were encountered:
pkubowicz
added a commit
to pkubowicz/spring-ai
that referenced
this issue
May 23, 2025
The dependency on spring-webflux was unnecessary, there was no code
inside spring-ai-retry that made use of it.
Also remove 'optional' from slf4j-api dependency (it's not optional,
if you don't have it on classpath, RetryUtils will fail to load).
Fixesspring-projects#3307
The dependency on spring-webflux was unnecessary, there was no code
inside spring-ai-retry that made use of it.
Also remove 'optional' from slf4j-api dependency (it's not optional,
if you don't have it on classpath, RetryUtils will fail to load).
Fixesspring-projects#3307
Signed-off-by: Piotr Kubowicz <piotr.kubowicz@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Bug description
spring-ai-retry/pom.xml
containsspring-webflux
. This is an invasive library (conflicts with spring-webmvc) and should not be added as a dependency without a good reason. There is no reason: no class from spring-webflux is imported. There is one import oforg.springframework.web.client.ResponseErrorHandler
, but it's provided by much smallerspring-web
. So the dependency should be on spring-web instead.Environment
Spring AI 1.0.0 Release
Steps to reproduce
Check spring-ai-retry/pom.xml
Expected behavior
No spring-webflux dependency
Minimal Complete Reproducible example
N/A (dependencies issue)
The text was updated successfully, but these errors were encountered: