【发布时间】:2020-05-01 22:14:17
【问题描述】:
我在 Spring 4.3.25 中使用包 org.springframework.web.util.Log4jWebConfigurer 进行日志记录。现在我将我的 spring 版本升级到 5.1.5,但是 spring-web 中没有 Log4jWebConfigurer 类。有人知道我可以采取什么替代步骤来解决这个问题吗?
我收到此错误。
BootstrapListener.java:[6,36] cannot find symbol
[ERROR] symbol: class Log4jWebConfigurer
[ERROR] location: package org.springframework.web.util
【问题讨论】:
标签: java spring spring-mvc logging log4j