This topic has not yet been written. The content below is from the topic description.
Logging Dependency With Infinispan versions 4.x The query module uses Hibernate Search which in turn uses SLF4J as logging framework. This framework expects users to decide which SLF4J logging implementation they want use, either log4j, jdk...etc. Neither Hibernate Search nor the Infinispan query module make any assumptions which means that if you haven't chosen any implementations, when you start your query module based app, you'll get an exception like this:  Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder    at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:223)    at org.slf4j.LoggerFactory.bind(LoggerFactory.java:120)    at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)    at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:269)    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)    at org.hibernate.search.util.LoggerFactory.make(LoggerFactory.java:38)    at org.hibernate.search.Version. (Version.java:40)    at org.hibernate.search.impl.SearchFactoryImpl.(SearchFactoryImpl.java:102)    at org.infinispan.query.backend.QueryHelper.(QueryHelper.java:104)    at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:377)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)    at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)    at java.security.AccessController.doPrivileged(Native Method)    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)    ... 13 more  To get around it, make sure you select a SLF4J implementation and add the corresponding dependency. For example:    org.slf4j   slf4j-log4j12   1.5.8