Can Spring boot version 1.5.x be used with Java 11? Or is it necessary to move it to Spring 2.1.x?
Asked
Active
Viewed 5,588 times
1
-
You need to migrate to 2.1 check this migration guide:https://dzone.com/articles/migrating-springboot-applications-to-latest-java-v – soorapadman Mar 01 '19 at 14:07
1 Answers
3
Spring Boot 1.5 can be used with the version 8 of java. In order to use Java9 you need SpringBoot 2.0. In order to use Java11 you need SpringBoot 2.1.X, as you mentioned.
Here is some case study on a migration you might be interested in: https://altkomsoftware.pl/en/blog/spring-boot-migration-java/

Pijotrek
- 2,821
- 1
- 18
- 32
-
Yes but if I still want to use 1.5.x with Java 11, would there be a problem? – HashimR Mar 01 '19 at 14:11
-
1Yes, read my comment carefully, for java11 spring boot version needs to be >= 2.1.0 – Pijotrek Mar 02 '19 at 20:18