我之前在spring应用程序的多绑定错误中遇到了问题,我了解到修复方法是排除spring-boot-starter-web依赖项的一个组件。我现在遇到的问题是log4j想要被初始化,但是logback-经典依赖关系。以下是我在排除logback时遇到的问题: log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.StandardServletEnvironment).
l
appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.