这段错误信息意味着在类路径上同时存在Logback和Reload4j的实现,但LoggerFactory不是一个Logback LoggerContext。为了解决这个问题,你需要删除Logback或者Reload4j的其中一个实现。

如果你正在使用WebLogic服务器,你需要将org.slf4j添加到WEB-INF/weblogic.xml文件的prefer-application-packages中,以指定使用哪个实现。

LoggerFactory is not a Logback LoggerContext but Logback is on the classpath Either remove Logback or the competing implementation class orgslf4jimplReload4jLoggerFactory loaded from fileDwork_toolsma

原文地址: http://www.cveoy.top/t/topic/isg8 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录