It needs an appropriate SLF4J binding. Look at
http://www.slf4j.org/codes.html#StaticLoggerBinder

If you choose logback, for example, you should add something like this
to your pom.xml

<dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>0.9.27</version>
        <scope>runtime</scope>
</dependency>

On Mon, Jan 31, 2011 at 7:59 AM, Sebastian E. Ovide
<[email protected]> wrote:
> Hi Guys,
>
> I'm getting started with Shiro in a maven project. I've added the filter (as
> http://shiro.apache.org/web.html) and the dependencies:
>
> java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
>
> root cause
>
> java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder

Reply via email to