LoggerFactory is not a Logback LoggerContext but Logback is on the classpath Either remove Logback or the competing implementation class orgslf4jimplLog4jLoggerFactory loaded from fileHmaven_repositor
This error message is indicating that there is a conflict between two logging frameworks, Logback and Log4j. The application is trying to use LoggerFactory, which is a part of Logback, but it is finding another implementation of LoggerFactory that is part of Log4j.
To resolve this issue, you can either remove Logback or Log4j from the classpath, or you can configure your application to use only one of the logging frameworks. If you are using WebLogic, you may need to add 'org.slf4j' to the prefer-application-packages element in the weblogic.xml file, which will instruct WebLogic to use the specified implementation of the LoggerFactory
原文地址: http://www.cveoy.top/t/topic/cvZf 著作权归作者所有。请勿转载和采集!