Maintaining an old application written in Netbeans and trying to currently update it to Java 11. I was able to solve some initial problems when I asked a previous question and got directed to this:
Replacements for deprecated JPMS modules with Java EE APIs
I added those modules as Jar libraries to the project and it got rid of compile errors. Now I am stuck with one last exception being thrown when Tomcat starts.
Caused by: java.lang.ClassNotFoundException: javax.jws.WebService
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1109)
I'm pretty sure this should be included in this jar file jaxws-api-2.3.0.jar
since other errors in the localhost log files disappeared after adding this jar.
Are there other settings / options I may need to add, perhaps something to do with modules, in order for Tomcat to find this class?