Apache Commons logo Commons Configuration

Runtime dependencies for Commons Configuration 2.1.1

Commons Configuration 2.1.1 requires Java 6 or later.

A lot of dependencies are declared in the Maven POM. These are all needed during compile time. On runtime however you only need to add the dependencies to your classpath that are required by the parts of the Commons Configuration package you are using. The following table helps you to determine which dependencies you have to include based on the components you intend to use:

Component Dependencies
Core commons-lang
Configuration builders commons-beanutils
JSONConfiguration com.fasterxml.jackson.core:jackson-databind
YAMLConfiguration org.yaml:snakeyaml
ConfigurationDynaBean commons-beanutils
XPathExpressionEngine commons-jxpath
CatalogResolver xml-resolver
Web configurations servlet-api
ExprLookup commons-jexl
VFSFileSystem, VFSFileChangedReloadingStrategy commons-vfs
ConfigPropertySource spring-core


  • Commons Configuration makes use of other Commons components. You should be able to use the current versions of these components together with Commons Configuration. In some cases, when no specific features are used, older versions will work, too. Below is a table with the version numbers that have been tested.
  • Some of the components listed in the table below may require additional (transitive) dependencies. These are not listed here.

Component Version
commons-lang 3.2.1, 3.3.2
commons-logging 1.1.1, 1.1.3
commons-beanutils 1.9.3
commons-codec 1.3, 1.5, 1.6, 1.9, 1.10
commons-jxpath 1.2, 1.3
commons-jexl 2.1.1
commons-vfs 2.0, 2.1
xml-resolver 1.2