SLF4J LoggerFactory Conflict: Logback vs. Log4j Resolution
This error message indicates a conflict between two logging frameworks, Logback and Log4j. The application attempts to use LoggerFactory (part of Logback) but finds a different implementation from Log4j.
To resolve this, you can either remove Logback or Log4j from the classpath, or configure your application to use only one logging framework. If using WebLogic, you might need to add 'org.slf4j' to the prefer-application-packages element in the weblogic.xml file. This instructs WebLogic to use the specified LoggerFactory implementation.
原文地址: http://www.cveoy.top/t/topic/nwwI 著作权归作者所有。请勿转载和采集!