While starting a Wicket web application, it hits following error message :

java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
	at org.slf4j.LoggerFactory.getSingleton(
	at org.slf4j.LoggerFactory.bind(
	at org.slf4j.LoggerFactory.performInitialization(
	at org.slf4j.LoggerFactory.getILoggerFactory(
	at org.slf4j.LoggerFactory.getLogger(
Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at java.lang.ClassLoader.loadClassInternal(
	... 31 more


In Wicket development, you have to add SLF4j logging implementation, otherwise, it will failed to start. To fix it, declared the slf4j in your Maven pom.xml file.

If you are using log4j, then declares slf4j log4j binding :

For non-Maven users
Just download the library and put it into your project classpath.


  1. SLF4j reference