[ https://issues.apache.org/jira/browse/LOG4J2-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053050#comment-14053050 ]
Remko Popma commented on LOG4J2-700: ------------------------------------ Until MyBatis upgrade for the log4j2 api change, perhaps you can use this as a workaround: http://mybatis.github.io/mybatis-3/logging.html This explains how to set a different logging implementation, either in mybatis-config.xml or in code by calling {{org.apache.ibatis.logging.LogFactory.useSlf4jLogging();}}. If you choose SLF4J, you can still use the log4j2 implementation by including the log4j-slf4j-impl jar in your class path as explained here: http://logging.apache.org/log4j/2.x/faq.html#which_jars > When used in MyBatis 3.2.7, an error "java.lang.ClassNotFoundException: > org.apache.logging.log4j.spi.AbstractLoggerWrapper" was reported,while the > rc1 with no problem. In the log4j-api-2.0-rc2.jar, the > AbstractLoggerWrapper.class is missing. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: LOG4J2-700 > URL: https://issues.apache.org/jira/browse/LOG4J2-700 > Project: Log4j 2 > Issue Type: Bug > Components: API > Affects Versions: 2.0-rc2 > Environment: mybatis 3.2.7, spring 3.2.5, mybatis-spring > 1.2.2,commons-logging-1.1.1,Windows 7, jdk1.6.0_45. > Reporter: Nash Xiao > Priority: Blocker > -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org