You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sasha O <vi...@codebistro.com> on 2007/10/23 18:49:25 UTC
AbstractMethodError in logging
Hello Wicket people --
Love the framework so far.
Getting this message, have no idea how to deal with it:
<<<
Exception in thread "ModificationWatcher Task"
java.lang.AbstractMethodError:
org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled()Z
at org.apache.wicket.util.thread.Task$1.run(Task.java:103)
at java.lang.Thread.run(Thread.java:595)
>>>
Apparently it relates to slf4j which otherwise seems to be working fine.
Thanks for your help,
-- Sasha
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AbstractMethodError in logging
Posted by Sasha O <vi...@codebistro.com>.
John --
Thanks for the quick reply. That did it!
-- Sasha
John Krasnay wrote:
> On Tue, Oct 23, 2007 at 09:49:25AM -0700, Sasha O wrote:
>> Hello Wicket people --
>>
>> Love the framework so far.
>>
>> Getting this message, have no idea how to deal with it:
>>
>> <<<
>> Exception in thread "ModificationWatcher Task"
>> java.lang.AbstractMethodError:
>> org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled()Z
>> at org.apache.wicket.util.thread.Task$1.run(Task.java:103)
>> at java.lang.Thread.run(Thread.java:595)
>> Apparently it relates to slf4j which otherwise seems to be working fine.
>>
>> Thanks for your help,
>> -- Sasha
>>
>
> Hi Sasha,
>
> I recently had this problem when upgrading from beta2 to beta4. Check
> your version of slf4j-log4j12 (assuming you're using log4j-1.2.*). The
> version should match the version of slf4j-api that Wicket uses. For
> beta4 it's 1.4.2. The following dependency in pom.xml did the trick for
> me:
>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-log4j12</artifactId>
> <version>1.4.2</version>
> </dependency>
>
> jk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: AbstractMethodError in logging
Posted by John Krasnay <jo...@krasnay.ca>.
On Tue, Oct 23, 2007 at 09:49:25AM -0700, Sasha O wrote:
> Hello Wicket people --
>
> Love the framework so far.
>
> Getting this message, have no idea how to deal with it:
>
> <<<
> Exception in thread "ModificationWatcher Task"
> java.lang.AbstractMethodError:
> org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled()Z
> at org.apache.wicket.util.thread.Task$1.run(Task.java:103)
> at java.lang.Thread.run(Thread.java:595)
> >>>
>
> Apparently it relates to slf4j which otherwise seems to be working fine.
>
> Thanks for your help,
> -- Sasha
>
Hi Sasha,
I recently had this problem when upgrading from beta2 to beta4. Check
your version of slf4j-log4j12 (assuming you're using log4j-1.2.*). The
version should match the version of slf4j-api that Wicket uses. For
beta4 it's 1.4.2. The following dependency in pom.xml did the trick for
me:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.4.2</version>
</dependency>
jk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org