logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-276) java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContextFactory.removeContext
Date Sun, 09 Jun 2013 12:40:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679027#comment-13679027

Remko Popma commented on LOG4J2-276:

Is it possible that you upgraded the core jar but not the api jar?
The removeContext method was added with beta7.
> java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContextFactory.removeContext
> --------------------------------------------------------------------------------------------
>                 Key: LOG4J2-276
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-276
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.0-beta7
>         Environment: java version "1.7.0_21"
> Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
> OSX 10.8.3.
>            Reporter: Christian Moen
> I've upgraded from 2.0-beta6 to 2.0beta7 and I'm getting the below error when my "mvn
test" is about to complete its test run:
> {noformat}
> Exception in thread "Thread-1" java.lang.NoSuchMethodError: org.apache.logging.log4j.spi.LoggerContextFactory.removeContext(Lorg/apache/logging/log4j/spi/LoggerContext;)V
> 	at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:206)
> 	at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:429)
> {noformat}
> I don't get this problem with 2.0-beta6.
> I'm happy to provide further details based on guidance on what you would like to see.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message