When you setup your project with commons-configuration library plugged in sometimes you can get very misleading error:
ConfigurationException: XML-22101: (Fatal Error) DOMSource node as this type not supported
This error may be caused by missing XML library bindings. In order to fix that error you have to configure properly some service providers (point JVM to correct XML parsing/transformation implementations).
How to do that? You have to create the following directory structure somewhere under classpath:
Then inside “services” directory place filenames named after interfaces and filled with full class name of an implementation, for example (Xerces + Xalan plugged in):
After this change proper XML implementation should be used (if the jar is present on classpatch of course).