O'Reilly logo
  • Sourav Ghosh thinks this is interesting:

pom.xml

From

Cover of Spring Batch Essentials

Note

The below dependency (commons-logging) must be added alongside the rest, otherwise "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory" exception is thrown.

<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>