From the course: Migrating beyond Java 8

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Resolving dependency migration issues

Resolving dependency migration issues - Java Tutorial

From the course: Migrating beyond Java 8

Start my 1-month free trial

Resolving dependency migration issues

- [Instructor] When migrating to a new version of Java, it's important to take into consideration any third-party dependencies that may be used by an application. It's possible that these dependencies are not compatible with your target Java version. In that case, you will most likely need to upgrade or replace those dependencies. If we look at the HplusSportApiApplication, we'll see within the pom.xml file that we're using a pretty dated version of Spring Boot. In fact, if we navigate to our Package Explorer and launch the application, we're going to get some console output that is a little concerning. So here within the console output, you'll see that we are being warned, regarding reflective access that is occurring in this version of Spring. Now, in a future release of Java, it's possible that our application will not work because of this reflective access in Spring. So the time to fix this is now, while we're…

Contents