Short story: You're going to need to include the XDB library.
Long story: If you dig into it, you'll find that the cause of the NoClassDefFoundError is that one of the classes you're using (either your direct use or indirectly) will reference the XMLType class.
Even if you're not using XMLType, the class must be present on the classpath for the class you actually are using to be loaded.