Tomcat错误:log4j:WARN找不到记录器的附加程序(org.springframework.web.context.ContextLoader)

时间:2018-11-21 21:14:35

标签: java spring tomcat

我使用spring和hibernate创建我的第一个Web服务。但是,我遇到了我无法解决的问题。整个项目一直有效,直到我添加了Spring Security。我试图向基于Internet指南建模的tomcat文件中添加一行代码,但是并没有得到更大的结果。我不知道如何解决这个问题,因此每条建议都会有所帮助。

错误消息:


   22-Nov-2018 18:11:42.142 FINE [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanResourcePaths No TLD files were found in resource path [/WEB-INF/].
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
22-Nov-2018 18:11:43.306 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
22-Nov-2018 18:11:43.353 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2018-11-22 06:11:43,415] Artifact SpringJavaConfig2:war exploded: Error during artifact deployment. See server log for details.
22-Nov-2018 18:11:51.336 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
22-Nov-2018 18:11:51.398 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [62] ms

Tomcat版本:9.0.7

0 个答案:

没有答案