I'm moving a Java Swing app for which I do not have the source from Java 8 to Java 10.
I first ran into:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/ws/WebServiceException
Which I successfully solved. As explained in many posts on SO and other sites, modules have been moved out of the JDK as of Java 9. This means I had to bring back dependencies into my classpath for the app to run.
Now I am getting:
java.lang.NoClassDefFoundError: sun/net/www/protocol/https/DefaultHostnameVerifier
But I cannot seem to find where that dependency is. I found a post which suggested changing code but that is not an option for me. What else can I try?