This topic describes frequently-asked questions (FAQ) and solutions when using Simple Message Queue (SMQ, formerly MNS) SDK for Java.
Missing packages
Description
If the response is similar to one of the following responses, the JAXB packages used to compile or run SMQ SDK for Java may be missing in your project.
java.lang.ClassNotFoundException:javax.xml.bind.JAXBException
java.lang.ClassNotFoundException:com.sun.xml.internal.bind.v2.ContextFactory
java.lang.ClassNotFoundException:javax.xml.bind.DatatypeConverterSolution
Add the JAXB dependency to your project. For more information, see Add JAXB dependency.