SLF4J in Hector

zznate edited this page Jan 27, 2011 · 1 revision

If you are using Hector in your project and are getting a ClassNotFound exception for an SLF4J class, there is a reason for it. You must include the correct SLF4J binding in your project. Hector's only SLF4J dependency is on the API itself, not the logging implementations. For us (or any library developer for that matter) to make assumptions about which logging library you are using is poor form.

For more information see this mail list thread and this description from the SLF4J documentation.

Thanks to Stephen Connolly for getting are pom files straightened out to support this.