mmm... shouldn't it be already part of shiro-core ? by the way I've tried to add this extra dependency and now I'm getting another error:
HTTP Status 500 - ------------------------------ *type* Exception report *message* *description*The server encountered an internal error () that prevented it from fulfilling this request. *exception* javax.servlet.ServletException: PWC1243: Filter execution threw an exception *root cause* java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; *note* *The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.0.1 logs.* ideas ? On Mon, Jan 31, 2011 at 1:12 PM, f a v <[email protected]> wrote: > 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 > -- Sebastian E. Ovide skype: sebastian.ovide +353 (0) 87 6340149
