Is this a Tomcat server? And are you using Java 11 or higher?
In Java 11, Oracle removed all of the JEE code from the JDK and JRE. That was basically everything that was in the java.se.ee module but not in the java.se module, and included modules like java.activation, java.xml.ws and java.xml.bind. That last one is better known as JAXB. In other words, since Java 11, JAXB is no longer part of the JDK / JRE. You need to include a dependency for it now.