gpt4 book ai didi

spring-boot - 适用于旧版本Java的Spring Boot

转载 作者:行者123 更新时间:2023-12-04 22:29:16 29 4
gpt4 key购买 nike

我希望使用Spring Boot创建一个新的Web应用程序。不幸的是,我的服务器在技术堆栈方面相当有限。它安装了Java 5。

谁能告诉我spring boot是否可以在Java 1.5上运行以及什么版本?

谢谢

最佳答案

对于Spring Boot 2.0,要求最低版本为Java 8。

Spring Boot 2.0 release notes:

Spring Boot 2.0 requires Java 8 as a minimum version. Many existing APIs have been updated to take advantage of Java 8 features such as: default methods on interfaces, functional callbacks, and new APIs such as javax.time. If you are currently using Java 7 or earlier, you’ll need to upgrade your JDK before you can develop Spring Boot 2.0 applications.

关于spring-boot - 适用于旧版本Java的Spring Boot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39136965/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com