How-to articles, tricks, and solutions about JAVA-10

How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

The java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException error occurs when the Java class javax.xml.bind.JAXBException is not found on the classpath. This class is part of the Java Architecture for XML Binding (JAXB) API, which is used for parsing