Skip to content

chore(deps): bump Spring Boot to 4.1.0, Spring Cloud to 2025.1.2 #4339

Description

@xuxiaowei-com-cn

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。
We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.

Which Component
Spring Cloud Alibaba (root pom, dependencies)

Describe the bug
当前项目依赖的 Spring Boot、Spring Cloud、spring-cloud-build 版本较旧,需要升级以获取最新的 bug 修复和兼容性改进。
The currently used versions of Spring Boot, Spring Cloud, and spring-cloud-build are outdated and need to be upgraded to get the latest bug fixes and compatibility improvements.

Expected behavior

  • spring-boot.version: 4.0.0 → 4.1.0
  • spring.cloud.version: 2025.1.0 → 2025.1.2
  • spring-cloud-build: 5.0.0 → 5.0.2

单独升级 Spring Boot 4.1.0 而未同步升级 Spring Cloud 时,会出现以下兼容性异常:
If only Spring Boot 4.1.0 is upgraded without upgrading Spring Cloud, the following compatibility error occurs:

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.configuration.CompositeCompatibilityVerifier]: Factory method 'compositeCompatibilityVerifier' threw exception with message: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@6cc8adff description = 'Spring Boot [4.1.0] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [4.0.x] .

Caused by: org.springframework.cloud.configuration.CompatibilityNotMetException: Spring Cloud/ Spring Boot version compatibility checks have failed: [[VerificationResult@6cc8adff description = 'Spring Boot [4.1.0] is not compatible with this Spring Cloud release train', action = 'Change Spring Boot version to one of the following versions [4.0.x] .

因此 Spring Boot 4.1.0 需要与 Spring Cloud 2025.1.2 配合使用,同时升级 spring-cloud-build 到 5.0.2 以保持兼容。
Therefore Spring Boot 4.1.0 requires Spring Cloud 2025.1.2, and spring-cloud-build must be upgraded to 5.0.2 accordingly to maintain compatibility.

Simplest demo
The URL of the simplest demo to reproduce the problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
e.g. MacOS 、Java8 、 Version 0.2.1.RELEASE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions