You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Laurent <lg...@free.fr> on 2005/10/25 23:48:23 UTC

NoSuchFieldError with Log4j 1.3

Hi,

I just upgraded to the svn version of log4j (from 1.2.11) and I am now
getting this error:

Logger:
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mywebapp].[jsp]
Message: Servlet.service() for servlet jsp threw exception
Throwable:
java.lang.NoSuchFieldError: DEBUG
 at org.apache.taglibs.log.DebugTag.getPriority(DebugTag.java:72)
 at org.apache.taglibs.log.LoggerTag.doAfterBody(LoggerTag.java:107)

Has the Log4j API changed? Or is this a bug in the Log jakarta-taglib?
How should I solve this problem?

Thanks for your help.


PS. Thank you Rakesh for your previous reply, it solved my problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: NoSuchFieldError with Log4j 1.3

Posted by Laurent <lg...@free.fr>.
Laurent wrote:
> Throwable:
> java.lang.NoSuchFieldError: DEBUG
>  at org.apache.taglibs.log.DebugTag.getPriority(DebugTag.java:72)
>  at org.apache.taglibs.log.LoggerTag.doAfterBody(LoggerTag.java:107)

It's working with the CVS version of the taglib.
Sorry about that, next time I'll think before I post...

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org