我需要将我的项目升级到 Java 11,所以我想知道支持我的 Java 11 的 Spring Framework 版本的最低版本是多少。
到目前为止,我的项目包含 Java 8 和 spring 3.2.13
我使用 Java 11 和 Spring 3.2.13 运行我的项目,没有遇到任何问题。 但我想澄清一下,Java 11 支持 Spring 3.2.13,这样以后就不会造成任何问题了。
提前致谢...
最佳答案
Please upgrade to Spring Framework 5.1+ (and the corresponding Spring Boot 2.1+) for JDK 11+ support, as the common Long-Term Support migration path from JDK 8. No earlier Spring versions are officially supported on JDK 11, in particular not with JDK 11 bytecode level. Note that third-party components might not fully support JDK 11 yet, so you are likely to be limited in your full-stack options.
关于java - spring框架3.2.13是否与Java 11兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61092950/