NutzCN Logo
问答 No appenders could be found for logger (org.springframework.web.context.ContextLoader)异常
发布于 2796天前 作者 jeasonsilver 3085 次浏览 复制 上一个帖子 下一个帖子
标签:

下边是我的web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
BigF

contextConfigLocation
classpath:spring.xml,classpath:spring-nutzdao.xml,classpath:spring-shiro.xml


log4jConfigLocation
/WEB-INF/log4j.properties

<context-param>
    <param-name>log4jRefreshInterval</param-name>
    <param-value>60000</param-value>
</context-param>
<listener>
    <listener-class>
       org.springframework.web.util.Log4jConfigListener
    </listener-class>
</listener>
<!-- shiro 安全过滤器 -->
<filter>
    <filter-name>shiroFilter</filter-name>
    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    <async-supported>true</async-supported>
    <init-param>
        <param-name>targetFilterLifecycle</param-name>
        <param-value>true</param-value>
    </init-param>
</filter>

<filter-mapping>
    <filter-name>shiroFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

<filter>
    <description>字符集过滤器</description>
    <filter-name>encodingFilter</filter-name>
    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
    <init-param>
       <description>字符集编码</description>
       <param-name>encoding</param-name>
       <param-value>UTF-8</param-value>
    </init-param>
     <init-param>  
        <param-name>forceEncoding</param-name>  
        <param-value>true</param-value>  
    </init-param>
</filter>
<filter-mapping>
    <filter-name>encodingFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
    <description>spring监听器</description>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- 防止spring内存溢出监听器 -->
<listener>
    <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
</listener>
<!-- spring mvc servlet -->
<servlet>
    <description>spring mvc servlet</description>
    <servlet-name>springMvc</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
       <description>spring mvc 配置文件</description>
       <param-name>contextConfigLocation</param-name>
       <param-value>classpath:spring-mvc.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
</servlet>

<!-- CKFinder -->


CKFinderConnectorServlet

com.free.common.web.CKFinderConnectorServlet

XMLConfig
/WEB-INF/ckfinder.xml


debug
false


configuration
com.free.common.web.CKFinderConfig

1


CKFinderConnectorServlet
/ckfinder/core/connector/java/connector.java


FileUploadFilter
com.ckfinder.connector.FileUploadFilter

sessionCookieName
JSESSIONID


sessionParameterName
jsessionid



FileUploadFilter
/ckfinder/core/connector/java/connector.java

<!-- jsp标签 -->
<jsp-config>
    <taglib>
       <taglib-uri>/gdata</taglib-uri>
       <taglib-location>/WEB-INF/tlds/gdata.tld</taglib-location>
    </taglib>
    <taglib>
       <taglib-uri>/elf</taglib-uri>
       <taglib-location>/WEB-INF/tlds/elfunc.tld</taglib-location>
    </taglib>
</jsp-config>

<servlet-mapping>
    <servlet-name>springMvc</servlet-name>
    <url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
    <welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<!-- 配置session超时时间,单位分钟 -->
<session-config>
    <session-timeout>60</session-timeout>
</session-config>

14 回复

log4j.properties

下边是log4j.properties内容

log4j.rootLogger=debug

log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.Target=System.out
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=[%c]%m%n

log4j.appender.File=org.apache.log4j.RollingFileAppender
log4j.appender.File.File=tjdevdata.log
log4j.appender.File.MaxFileSize=10MB
log4j.appender.File.Threshold=ALL
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=[%p][%d{yyyy-MM-dd HH:mm:ss,SSS}][%c]%m%n

log4j.logger.org.springframework=DEBUG

下边是tomcat的日志
E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\bin\catalina.bat run
[2017-04-27 05:53:07,588] Artifact tjdevdata:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\lenovo.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_6"
Using CATALINA_HOME: "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14"
Using CATALINA_TMPDIR: "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\temp"
Using JRE_HOME: "D:\Software_Develops\JDK"
Using CLASSPATH: "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\bin\bootstrap.jar;E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\bin\tomcat-juli.jar"
27-Apr-2017 17:53:08.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.14
27-Apr-2017 17:53:08.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 13 2017 12:55:45 UTC
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.14.0
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: D:\Software_Develops\JDK\jre
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_121-b13
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\lenovo.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_6
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\lenovo.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_6\conf\logging.properties
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\lenovo.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_6
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\temp
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.12 using APR version 1.5.2.
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
27-Apr-2017 17:53:08.458 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
27-Apr-2017 17:53:09.093 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2k 26 Jan 2017)
27-Apr-2017 17:53:09.218 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9999"]
27-Apr-2017 17:53:09.234 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
27-Apr-2017 17:53:09.234 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
27-Apr-2017 17:53:09.250 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
27-Apr-2017 17:53:09.250 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1088 ms
27-Apr-2017 17:53:09.281 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
27-Apr-2017 17:53:09.281 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.14
27-Apr-2017 17:53:09.281 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-9999"]
27-Apr-2017 17:53:09.297 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
27-Apr-2017 17:53:09.297 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 54 ms
Connected to server
[2017-04-27 05:53:09,703] Artifact tjdevdata:war exploded: Artifact is being deployed, please wait...
27-Apr-2017 17:53:12.471 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanResourcePaths No TLD files were found in resource path [/WEB-INF/tags/].
27-Apr-2017 17:53:12.471 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanResourcePaths TLD files were found in resource path [/WEB-INF/tlds/].
27-Apr-2017 17:53:12.471 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanResourcePaths No TLD files were found in resource path [/WEB-INF/].
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/shiro-core-1.2.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/thumbnailator-0.4.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/mybatis-spring-1.2.1.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-test-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-tx-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.486 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-expression-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan TLD files were found in JAR [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-webmvc-3.2.4.RELEASE.jar].
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jackson-core-2.1.4.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/aopalliance-1.0.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/mysql-connector-java-5.1.27.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jsp-api-2.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/freemarker-2.3.20.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-jdbc-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-beans-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/shiro-spring-1.2.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.518 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jackson-core-asl-1.9.13.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.533 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan TLD files were found in JAR [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/ckfinder-2.3.jar].
27-Apr-2017 17:53:12.533 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/comm.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.533 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/mybatis-paginator-1.2.10.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.533 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/ckfinderplugin-fileeditor-2.3.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.533 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jackson-databind-2.1.4.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan TLD files were found in JAR [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jstl-1.2.jar].
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/apache-ant-zip-2.3.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-web-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/common-3.3.0b2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-context-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/ehcache-core-2.5.0.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan TLD files were found in JAR [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/shiro-web-1.2.2.jar].
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-aop-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/shiro-ehcache-1.2.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.596 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/druid-1.0.0.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/jackson-annotations-2.1.4.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/p6spy-1.3.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/mybatis-3.2.3.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/shiro-quartz-1.2.2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-core-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/gson-2.2.4.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/gbase-connector-java-8.2.01.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/quartz-1.6.1.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/spring-context-support-3.2.4.RELEASE.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/smslib-3.3.0b2.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/ckfinderplugin-imageresize-2.3.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.611 详细 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan No TLD files were found in [file:/E:/Work/InstelliJIDEAR_WorkSpaceNo.4/tjdevdata19/out/artifacts/tjdevdata_war_exploded/WEB-INF/lib/nutz-1.b.53.jar]. Consider adding the JAR to the tomcat.util.scan.StandardJarScanFilter.jarsToSkip property in CATALINA_BASE/conf/catalina.properties file.
27-Apr-2017 17:53:12.627 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
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.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
ALL Nutz Log via Log4jLogAdapter
27-Apr-2017 17:53:15.609 严重 [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
27-Apr-2017 17:53:15.609 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
27-Apr-2017 17:53:15.641 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
27-Apr-2017 17:53:15.641 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2017-04-27 05:53:15,656] Artifact tjdevdata:war exploded: Error during artifact deployment. See server log for details.
27-Apr-2017 17:53:19.293 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\webapps\manager
27-Apr-2017 17:53:19.371 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\webapps\manager has finished in 78 ms

@jeasonsilver 是不是放错地方了

web.xml里lo4j的地方都是我自己加上去了,没加之前日志包同样的错误

og4j: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.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
ALL Nutz Log via Log4jLogAdapter
27-Apr-2017 18:05:15.941 严重 [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
27-Apr-2017 18:05:15.943 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
27-Apr-2017 18:05:15.970 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
27-Apr-2017 18:05:15.971 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2017-04-27 06:05:15,985] Artifact tjdevdata:war exploded: Error during artifact deployment. See server log for details.
27-Apr-2017 18:05:19.564 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\webapps\manager
27-Apr-2017 18:05:19.669 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-8.5.14\webapps\manager has finished in 105 ms

总是报这几句

log4j.properties放在哪里了?绝对路径发一下看看

E:\Work\InstelliJIDEAR_WorkSpaceNo.4\tjdevdata19\src\main\resources\log4j.prpperties,跟web.xml的spring-shiro.xml是同一个目录下,这个nutz的项目是我们单位一个骚包自己做的而且在他的eclipse上跑起来所以spring-shiro.xml的路经是没有问题的他原来的项目里有用到log4j但是web.xml文件没有相关的上下文他人被发配到外地去了我不认识他,我就参不透这个日志了

这web.xml里面就没有nutz.

你写的是 /WEB-INF/log4j.properties 跟这个路径 src\main\resources\log4j.prpperties 对不上的

log4j.properties改了前面哪个样子运行还是报同样的日志

“log4j.properties”

		<paramvalue>log4j.properties</param-value>

我在tomcat的loging的文本里加了一行org.apache.jasper.servlet.TldScanner.level = FINE ;
然后日志就变成这样了

E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\bin\catalina.bat run
[2017-04-27 06:19:57,897] Artifact tjdevdata:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE:   "C:\Users\lenovo\.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_3"
Using CATALINA_HOME:   "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77"
Using CATALINA_TMPDIR: "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\temp"
Using JRE_HOME:        "D:\Software_Develops\JDK1.7"
Using CLASSPATH:       "E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\bin\bootstrap.jar;E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\bin\tomcat-juli.jar"
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/7.0.77
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Mar 28 2017 16:01:48 UTC
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.77.0
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 8
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            6.2
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             D:\Software_Develops\JDK1.7\jre
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_17-b02
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         C:\Users\lenovo\.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_3
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=C:\Users\lenovo\.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_3\conf\logging.properties
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote=
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.port=1099
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\endorsed
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\lenovo\.IntelliJIdea2017.1\system\tomcat\Unnamed_tjdevdata_3
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77
四月 27, 2017 6:20:01 下午 org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\temp
四月 27, 2017 6:20:01 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.12 using APR version 1.5.2.
四月 27, 2017 6:20:01 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
四月 27, 2017 6:20:02 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2k  26 Jan 2017)
四月 27, 2017 6:20:03 下午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
四月 27, 2017 6:20:03 下午 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
四月 27, 2017 6:20:03 下午 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3334 ms
四月 27, 2017 6:20:03 下午 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
四月 27, 2017 6:20:03 下午 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.77
四月 27, 2017 6:20:03 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
四月 27, 2017 6:20:03 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
四月 27, 2017 6:20:03 下午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 118 ms
Connected to server
[2017-04-27 06:20:03,608] Artifact tjdevdata:war exploded: Artifact is being deployed, please wait...
四月 27, 2017 6:20:03 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile(E:\Work\InstelliJIDEAR_WorkSpaceNo.4\tjdevdata19\out\artifacts\tjdevdata_war_exploded\WEB-INF\lib\servlet-api-3.0-alpha-1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
四月 27, 2017 6:20:06 下午 org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
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.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
ALL Nutz Log via Log4jLogAdapter
四月 27, 2017 6:20:08 下午 org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
四月 27, 2017 6:20:08 下午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
四月 27, 2017 6:20:08 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
四月 27, 2017 6:20:08 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2017-04-27 06:20:08,883] Artifact tjdevdata:war exploded: Error during artifact deployment. See server log for details.
四月 27, 2017 6:20:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\webapps\manager
四月 27, 2017 6:20:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory E:\Work\InstelliJIDEAR_TomcatNo.4\apache-tomcat-7.0.77\webapps\manager has finished in 312 ms

放在 src\main\resources\log4j.prpperties 的话, 并不需要额外的配置, log4jConfigLocation是多余的.

删除log4jConfigLocation, 检查一下编译的目录里面有没有log4j.properties

添加回复
请先登陆
回到顶部