Skip to content

ReproFix

  • About
  • Privacy Policy
  • Contact

Spring AI

Spring AI 2.0 on Spring Boot 4.0: requireUpperBoundDeps error fix

November 3, 2026 by ReproFix
Spring AI 2.0 on Spring Boot 4.0: requireUpperBoundDeps error fix

A Spring AI 2.0.2 starter on Spring Boot 4.0.9 fails only the Maven Enforcer requireUpperBoundDeps rule. The cause, plus the 4.1.2 upgrade and excludes fixes.

Categories Spring AI Tags dependencyManagement, Maven, Maven Enforcer, Micrometer, requireUpperBoundDeps, Spring AI 2.0, Spring Boot 4.0, spring-ai-bom Leave a comment

Fix Spring AI 2.0 conversationId cannot be null in chat memory

November 2, 2026November 2, 2026 by ReproFix
Fix Spring AI 2.0 conversationId cannot be null in chat memory

Spring AI 2.0 and 1.1.6 removed DEFAULT_CONVERSATION_ID, so chat memory calls fail with conversationId cannot be null. Reproduced and fixed with per-user IDs.

Categories Spring AI Tags Chat Memory, ChatClient, conversationId cannot be null, DEFAULT_CONVERSATION_ID, MessageChatMemoryAdvisor, Ollama, Spring AI 2.0, Spring Boot 4 Leave a comment

Spring AI 2.0: ChatModel tool calls not executed, empty answer

November 1, 2026November 1, 2026 by ReproFix
Spring AI 2.0: ChatModel tool calls not executed, empty answer

After upgrading to Spring AI 2.0, @Tool methods passed to ChatModel.call() never run and the answer is empty. Reproduced on 2.0.2, with two fixes.

Categories Spring AI Tags ChatClient, ChatModel, internalToolExecutionEnabled, Ollama, Spring AI 2.0, Tool Calling, ToolCallingAdvisor, ToolCallingManager Leave a comment

Recent Posts

  • Testcontainers 2.0 NoSuchFieldError: fix old jackson-annotations
  • Liquibase Gradle plugin 3.x: NoClassDefFoundError liquibase/Scope fix
  • Spring AI 2.0 on Spring Boot 4.0: requireUpperBoundDeps error fix
  • Testcontainers on Docker 29: fix client version 1.32 is too old
  • bitnami/kafka manifest unknown: moving to apache/kafka KRaft

Recent Comments

No comments to show.
© 2026 ReproFix • Built with GeneratePress