![]() Spring-boot-3.0.0.jar!/org/springframework/boot/SpringApplication.classĬlass file has wrong version 61.0, should be 52.0 If we compile a Spring boot 3 application with a lower version of JDK then we will get the following compilation error: java: cannot access īad class file: /C:/devsetup/m2/org/springframework/boot/spring-boot/3.0.0/ ![]() We may face the error “Java class file has wrong version 61.0” when a dependent third-party library is expected the minimum supported Java version 17.įor example, the baseline version for Spring framework 6 and Spring boot 3 is Java 17. For example, migrating a Spring application to Spring 6 or Spring boot 3. Learn to solve the Java compiler exception while migrating your Java application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |