Only one compile time dependency:

[INFO] |  +- displaytag:displaytag:jar:1.1.1:compile
[INFO] |  |  +- com.lowagie:itext:jar:1.3:compile
[INFO] |  |  \- org.slf4j:jcl104-over-slf4j:jar:1.4.2:compile

I wonder why SLF4J went for String based messages... what about all the
custom appenders that do specific things based on message types?

Cheers
Tim


On Tue, May 20, 2008 at 9:43 PM, Matt Raible <[EMAIL PROTECTED]> wrote:

> If you run "mvn dependency:tree", is it still in the classpath somewhere?
>
> Matt
>
> On Tue, May 20, 2008 at 1:27 PM, tim robertson
> <[EMAIL PROTECTED]> wrote:
> > Hi Matt,
> > Ok - got SLF4j omitted in the pom.
> > There must be some config somewhere saying to use it right?  Any idea
> where
> > please?
> > Thanks,
> > Tim
> >
> > java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> >         at
> >
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
> >         at
> >
> org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
> >         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
> >         at
> >
> com.opensymphony.clickstream.ClickstreamListener.<clinit>(ClickstreamListener.java:24)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >         at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >         at java.lang.Class.newInstance0(Class.java:350)
> >         at java.lang.Class.newInstance(Class.java:303)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:649)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:630)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:367)
> >         at
> >
> org.mortbay.jetty.plus.webapp.AbstractConfiguration.initWebXmlElement(AbstractConfiguration.java:190)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
> >         at
> >
> org.mortbay.jetty.plus.webapp.AbstractConfiguration.initialize(AbstractConfiguration.java:133)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
> >         at
> >
> org.mortbay.jetty.plus.webapp.AbstractConfiguration.configure(AbstractConfiguration.java:113)
> >         at
> >
> org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
> >         at
> >
> org.mortbay.jetty.plus.webapp.AbstractConfiguration.configureWebApp(AbstractConfiguration.java:96)
> >         at
> >
> org.mortbay.jetty.plus.webapp.Configuration.configureWebApp(Configuration.java:124)
> >         at
> >
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
> >         at
> > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
> >         at
> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447)
> >         at
> >
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
> >         at
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> >
> > On Tue, May 20, 2008 at 9:12 PM, tim robertson <
> [EMAIL PROTECTED]>
> > wrote:
> >>
> >> Thanks - it is just the 2 jars that need omitted right?
> >>
> >>
> >> On Tue, May 20, 2008 at 9:10 PM, Matt Raible <[EMAIL PROTECTED]>
> >> wrote:
> >>>
> >>> You need to add exclusions to the warpath dependency in your pom.xml.
> >>>
> >>> Matt
> >>>
> >>> On 5/20/08, tim robertson <[EMAIL PROTECTED]> wrote:
> >>> > Hi all,
> >>> > SLF4J... I suspect this is serializing my Log4J commons logging
> >>> > messages
> >>> > prior to the appender, since my appenders work in eclipse and not in
> >>> > the
> >>> > servlet container.
> >>> >
> >>> > Does anyone know how to easily rip that out of an appfuse project to
> >>> > test my
> >>> > theory?  It is new to me...
> >>> >
> >>> > Thanks
> >>> >
> >>> > Tim
> >>> >
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to