mybatis不停读取配置文件resources/mybatis/config.xml]'

那么时光 发布于 2016/06/14 19:52
阅读 379
收藏 0

启动tomcat之后,控制台运行到这里的时候六月 14, 2016 4:14:07 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:Program Files (x86)Javajdk1.8.0_91bin;E:apache-tomcat-6.0.45bin
六月 14, 2016 4:14:07 下午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
六月 14, 2016 4:14:07 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 473 ms
六月 14, 2016 4:14:07 下午 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
六月 14, 2016 4:14:07 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.45
六月 14, 2016 4:14:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory csm
六月 14, 2016 4:14:07 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:apache-tomcat-6.0.45webappscsmWEB-INFlibgeronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
六月 14, 2016 4:14:07 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:apache-tomcat-6.0.45webappscsmWEB-INFlibjavaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
六月 14, 2016 4:14:08 下午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'webapp.root' = [E:apache-tomcat-6.0.45webappscsm]
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
六月 14, 2016 4:14:08 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/apache-tomcat-6.0.45/webapps/csm/WEB-INF/lib/logback-classic-1.0.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/apache-tomcat-6.0.45/webapps/csm/WEB-INF/lib/slf4j-jdk14-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/apache-tomcat-6.0.45/webapps/csm/WEB-INF/lib/slf4j-log4j12-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
16:14:10,757 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:14:10,757 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:14:10,758 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/E:/apache-tomcat-6.0.45/webapps/csm/WEB-INF/classes/logback.xml]
16:14:10,847 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:14:10,853 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:14:10,859 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
16:14:10,882 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@8 :18 - no applicable action for Encoding], current pattern is [[configuration[Encoding]]
16:14:10,954 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.
16:14:10,954 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:14:10,954 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See alsohttp://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:14:10,954 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
16:14:10,959 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
16:14:10,967 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@17 :19 - no applicable action for Encoding], current pattern is [[configuration[Encoding]]
16:14:10,987 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
16:14:10,989 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern d:/log/myApp.log.%d{yyyy-MM-dd}.log for the active file
16:14:10,996 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'd:/log/myApp.log.%d{yyyy-MM-dd}.log'.
16:14:10,996 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
16:14:10,997 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Jun 14 16:14:10 CST 2016
16:14:11,000 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - This appender no longer admits a layout as a sub-component, set an encoder instead.
16:14:11,000 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:14:11,000 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - See alsohttp://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:14:11,019 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: d:/log/myApp.log.2016-06-14.log
16:14:11,019 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null]
16:14:11,021 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
16:14:11,021 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [a]
16:14:11,027 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@458efc - No compression will be used
16:14:11,027 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[a] - This appender no longer admits a layout as a sub-component, set an encoder instead.
16:14:11,027 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[a] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:14:11,027 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[a] - See alsohttp://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:14:11,027 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[a] - Active log file name: D:/log/mylog_a_debug.log
16:14:11,027 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[a] - File property is set to [D:/log/mylog_a_debug.log]
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.type.descriptor.sql.BasicBinder] to TRACE
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.type.descriptor.sql.BasicExtractor] to DEBUG
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.SQL] to DEBUG
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.engine.QueryParameters] to DEBUG
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.engine.query.HQLQueryPlan] to DEBUG
16:14:11,028 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
16:14:11,028 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
16:14:11,030 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
16:14:11,030 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.jiayu.healthArchives.service.impl] to ERROR
16:14:11,030 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [a] to Logger[com.jiayu.healthArchives.service.impl]
16:14:11,030 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:14:11,033 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@bc415e - Registering current configuration as safe fallback point

控制台就开始不断读取这个配置文件
2016-06-14 16:14:15.010 [main] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed configuration file: 'class path resource [resources/mybatis/config.xml]'
这条信息不断输出,这个问题纠结我两天了。跪求大神帮我看看是什么问题,

那个配置文件中只是一些命名别名的标签,没有其他什么了,在别人机器上运行的好好的。


有愿意帮我看看的前辈可以留下您的联系方式,我愿意付报酬以示感谢。

加载中
返回顶部
顶部