【发布时间】:2020-05-06 07:30:37
【问题描述】:
我将log4j 从1.x 迁移到2.x。迁移后,我收到此错误消息:
org.apache.commoms.logging.LogConfigurationException: User-specified log class
org.apache.commons.logging.imple.Log4JLogger cannot be found or is not useable.
我确认commons-logging-1.2.jar 文件在WEB-INF/lib 中可用。
并且还在控制台中看到了另一个异常,即:
com.sun.faces.config.ConfigurationException: source document: jar file tomahawk20-1.1.14.jar!/META-INF/faces-config.xml.
Cause: unable to create a new instance of org.apache.myfaces.webapp.filter.ServerResourcePhaseLostener.
这可能是什么问题?
【问题讨论】:
标签: log4j log4j2 slf4j tomahawk