Good day, I tried to use this sdk in my local environment but I got this issue during the build of my project.
Caused by: java.lang.NoClassDefFoundError: javafx/util/Pair
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641)
... 34 common frames omitted
Caused by: java.lang.ClassNotFoundException: javafx.util.Pair
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 38 common frames omitted
The build version is dcevm8u232b09.
I know that javafx was removed from jdk starting from java 9 . However I though the build that I use (dcevm8u232b09) has to be compatible with java8. I use a legacy project which uses javafx.Pair a lot. How could I fix this problem ?
Good day, I tried to use this sdk in my local environment but I got this issue during the build of my project.
The build version is
dcevm8u232b09
. I know that javafx was removed from jdk starting from java 9 . However I though the build that I use (dcevm8u232b09) has to be compatible with java8. I use a legacy project which uses javafx.Pair a lot. How could I fix this problem ?