Some interesting observations when upgrading boot to JAVA 16. I use IntelliJ for my development.
- Make sure the pom file is updated with latest JDK version
- Boot version that was compatible with 2.4.4. Upgrade of boot prevents this following error
Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [… HiringServiceImplTest.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 60
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 60
- Updated with new version of Boot 2.4.4.
<relativePath/> <!-- lookup parent from repository -->
Branch for this changes can be found here