tomcat5启动说servlet-jsp.jar not loaded

本文聚焦Java程序员使用Tomcat5进行WEB开发和部署时遇到的ClassLoader相关问题。先介绍了Class Loader的运行机制,包括结构、委托模型、装载连接及初始化;接着阐述Tomcat5中的ClassLoader;最后分析Tomcat5与WEB应用中出现的错误及解决办法,如java.lang.NoClassDefFoundError等。
[j2ee]Tomcat5 和 ClassLoader
number01 发表于 2005-6-28 下午 09:30:00  
许多Java程序员在用Tomcat5进行WEB开发和部署过程中,都会遇到与ClassLoader有关的问题.例如经常出现的
java.lang.NoClassDefFoundError.在本文下面的叙述中,将首先介绍Class Loader(类装载器)的运行机制,然后再介绍Tomcat5中的
ClassLoader,以及在Tomcat5实际操作中遇到的问题和解决方法.


Tomcat5 和 ClassLoader
---作者:张增志


概要
许多Java程序员在用Tomcat5进行WEB开发和部署过程中,都会遇到与ClassLoader有关的问题.例如经常出现的
java.lang.NoClassDefFoundError.在本文下面的叙述中,将首先介绍Class Loader(类装载器)的运行机制,然后再介绍Tomcat5中的
ClassLoader,以及在Tomcat5实际操作中遇到的问题和解决方法.


一.   Class Loader(类装载器)
1.      类装载器结构
类装载器(Class Loader)是Java虚拟机的组成部分之一,如图1所示.Java虚拟机有两种类装载器:启动类装载器和用户自定义类装载器.
URL: ::URL:: http://blog.blogchina.com/upload/2004-11-24/20041124104254943028.jpg

图1:Java虚拟机的内部体系结构.
启动类装载器   每个Java虚拟机实现都必须有一个启动类装载器.在Sun的JDK 1.2以后的版本中,启动类装载器只负责在系统类(核心Java API的class文件)的安装路径中查找要装入的类.
用户自定义类装载器   它是普通的Java对象,它的类必须继承自java.lang.ClassLoader类.在Sun的JDK 1.2以后的版本中,用户自定义类装载器负责核心Java API以外的其它class文件的装载.例如,用于安装或下载标准扩展的class文件,在类路径中发现的类库的class文件,用于应用程序运行的class文件,等等.
命名空间   Java虚拟机为每一个类装载器维护一个唯一标识的命名空间.一个Java程序可以多次装载具有同一个全限定名(指类所属的包名加类名,如java.lang.Object就是类Object的全限定名)的多个类(class). Java虚拟机要确定这"多个类"的唯一性,因此,当多个类装载器都装载了同名的类时,为了唯一地标识这个类,还要在类名前加上装载该类的类装载器的标识(指出了类所位于的命名空间).例如:ExtClassLoader 装载了sun.text.resources.DateFormatZoneData_zh_CN类,AppClassLoader装载了sun.text.resources.DateFormatZoneData_zh_HK类, Java虚拟机就认为这两个类位于不同的包中,彼此之间不能访问私有成员.如果AppClassLoader也装载了sun.text.resources.DateFormatZoneData_zh_CN类, 虽然"类名"相同,Java虚拟机也认为它们是不同的类,因为它们处在不同的命名空间中.
2.      委托(Delegation)模型
当Java虚拟机开始运行时,在应用程序开始启动以前,它至少创建一个用户自定义装载器,也可能创建多个.所有这些装载器被连接在一个Parent-Child的委托链中,在这个链的顶端是启动类装载器,末端是被称为"系统类装载器"的类装载器.
例如,假设你写了一个应用程序,在虚拟机上运行它.虚拟机在启动时实例化了两个用户自定义类装载器:一个"扩展类装载器",一个"类路径类装载器".这些类装载器和启动类装载器一起联入一个Parent-Child委托链中,如图2所示.
URL: ::URL:: http://blog.blogchina.com/upload/2004-11-24/2004112410430176267.jpg

图2:Parent-Child类装载器委托链
类路径类装载器的Parent是扩展类装载器, 扩展类装载器的Parent是启动类装载器.在图2中,类路径类装载器就被实例为系统类装载器.假设你的程序实例化它的网络类装载器,它就指明了系统类装载器作为它的Parent.
下面的例程说明了类装载器的父子关系.
例程1:
package test;
import java.net.URL;
import java.net.URLClassLoader;
public class ClassLoaderTest {
    private static int count = -1;
    public static void testClassLoader(Object obj) {
        if (count < 0 && obj == null) {
            System.out.println("Input object is NULL" ;
            return;
        }
        ClassLoader cl = null;
        if (obj != null && !(obj instanceof ClassLoader)) {
            cl = obj.getClass().getClassLoader();
        } else if (obj != null) {
            cl = (ClassLoader) obj;
        }
        count++;
        String parent = "";
        for (int i = 0; i < count; i++) {
            parent += "Parent ";
        }
        if (cl != null) {
            System.out.println(
                parent + "ClassLoader name = " + cl.getClass().getName());
            testClassLoader(cl.getParent());
        } else {
            System.out.println(
                parent + "ClassLoader name = BootstrapClassLoader" ;
            count = -1;
        }
    }
    public static void main(String[] args) {
        URL[] urls = new URL[1];
        URLClassLoader urlLoader = new URLClassLoader(urls);
        ClassLoaderTest.testClassLoader(urlLoader);
    }
}
以上例程的输出为:
ClassLoader name = java.net.URLClassLoader
Parent ClassLoader name = sun.misc.Launcher$AppClassLoader
Parent Parent ClassLoader name = sun.misc.Launcher$ExtClassLoader
Parent Parent Parent ClassLoader name = BootstrapClassLoader
类装载器请求过程
以上例程1为例.将main方法改为:
        ClassLoaderTest tc = new ClassLoaderTest();
        ClassLoaderTest.testClassLoader(tc);
输出为:
ClassLoader name = sun.misc.Launcher$AppClassLoader
Parent ClassLoader name = sun.misc.Launcher$ExtClassLoader
Parent Parent ClassLoader name = BootstrapClassLoader
程序运行过程中,类路径类装载器发出一个装载ClassLoaderTest类的请求, 类路径类装载器必须首先询问它的Parent---扩展类装载器---来查找并装载这个类,同样扩展类装载器首先询问启动类装载器.由于ClassLoaderTest不是Java API(JAVA_HOME/jre/lib)中的类,也不在已安装扩展路径(JAVA_HOME/jre/lib/ext)上,这两类装载器都将返回而不会提供一个名为ClassLoaderTest的已装载类给类路径类装载器.类路径类装载器只能以它自己的方式来装载ClassLoaderTest,它会从当前类路径上下载这个类.这样,ClassLoaderTest就可以在应用程序后面的执行中发挥作用.
在上例中, ClassLoaderTest类的testClassLoader方法被首次调用,该方法引用了Java API中的类java.lang.String.Java虚拟机会请求装载ClassLoaderTest类的类路径类装载器来装载java.lang.String.就像前面一样,类路径类装载器首先将请求传递给它的Parent类装载器,然后这个请求一路被委托到启动类装载器.但是,启动类装载器可以将java.lang.String类返回给类路径类装载器,因为它可以找到这个类,这样扩展类装载器就不必在已安装扩展路径中查找这个类,类路径类装载器也不必在类路径中查找这个类.扩展类装载器和类路径类装载器仅需要返回由启动类装载器返回的类java.lang.String.从这一刻开始,不管何时ClassLoaderTest类引用了名为java.lang.String的类,虚拟机就可以直接使用这个java.lang.String类了.
在上述过程中也可能会发生错误,在本文下面的例子中将会涉及.
3.      装载 连接及初始化
在一个Java类的生命周期中,装载,连接和初始化只是其开始阶段.只有开始阶段结束以后,类才可以被实例化并被使用.整个开始阶段必须按以下顺序进行:
1)装载   把二进制形式的Java class读入虚拟机中.
2)连接   把已经读入虚拟机的二进制形式的类数据合并到虚拟机的运行状态中去.连接阶段分为验证,准备和解析三个子步骤.
3)初始化   给类变量赋以适当的初始值.
Java虚拟机允许类装载器(启动或用户自定义类装载器)缓存Java class的二进制形式,在预知某个类将要被使用时就装载它.如果一个类装载器在预先装载时遇到问题,它应该在该类被"首次主动使用"时报告该问题(通过抛出一个java.lang.LinkageError的子类).也就是说,如果一个类装载器在预先装载时遇到缺失或错误的class文件,它必须等到程序首次被主动使用该类时才报告错误.如果这个类一直没有被程序主动使用,那么该类装载器将不会报告错误.
二.  Tomcat5中的Class Loader
当Tomcat5启动的时候,它会首先创建一组class loader,如commonLoader, sharedLoader, catalinaLoader,webappLoader等.其委托模型如下图3所示:
     Bootstrap
          |
     System
          |
     Common
       /      /
Catalina   Shared
                 /
                Webapp1 ...
图3:Tomcat5类装载器委托模型
其中,
1)    Bootstrap 该类装载器装载JAVA_HOME/jre/lib和JAVA_HOME/jre/lib/ext两目录上的JAR包.
2)    System 该类装载器装载当前CLASSPATH上的JAR包.在Windows系统下, CLASSPATH环境变量会在CATALINA_HOME/bin/setclasspath.bat和CATALINA_HOME/bin/catalina.bat文件中被重新设置.
3)    Common 该类装载器装载CATALINA_HOME/common/classes目录中的类, CATALINA_HOME/commons/endorsed和CATALINA_HOME/common/lib目录中的JAR包.
4)    Catalina 该类装载器装载CATALINA_HOME/server/classes和CATALINA_HOME/server/lib目录中的类和JAR包.
5)    Shared 该类装载器装载CATALINA_HOME/shared/classes和CATALINA_HOME/shared/lib目录中的类和JAR包.
6)    WebappX 该类装载器装载WEB-INF/classes和WEB-INF/lib目录中的类和JAR包.
 
需要补充说明的是,WebappX类装载器独立于上文提到的Java2的委托模型.当WebappX类装载器装载一个类时,它会首先查找本身所辖目录(即WEB-INF/classes和WEB-INF/lib)下的类,而不会启动委托机制.当然对于Bootstrap和System类装载器中存在的类,是要进行委托的.另外,对于下面这些包中的类,如:
javax.* 
org.xml.sax.* 
org.w3c.dom.* 
org.apache.xerces.* 
org.apache.xalan.* 
WebappX类装载器装载时也要启动委托机制.
例如,假设ojdbc14.jar处在setclasspath.bat中的CLASSPATH下,同时也处在WEB-INF/lib目录下.类装载器系统在请求装载oracle.jdbc.driver.OracleDriver类时,会得到从System类装载器返回的类,而不是WebappX类装载器.
再假设ojdbc14.jar处在CATALINA_HOME/common/lib和WEB-INF/lib目录下,而没有处在setclasspath.bat中的CLASSPATH下,那么类装载器系统就会得到从WebappX类装载器返回的类,而不是Common类装载器.
另外,如果WEB-INF/lib目录下存在包含有servlet API类的JAR包,该JAR包将会被WebappX类装载器忽略.例如,
考虑到应用程序的编译问题,你可能会把servlet-api.jar包Copy到应用程序中的WEB-INF/lib目录下.那么,在Tomcat5启动时,启动屏幕上就会出现如下输出:
2004/09/12 14:53:57 org.apache.catalina.loader.WebappClassLoader validateJarFile
情报: validateJarFile(E:/MyData/myProjects/MyBS_SQL/web/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
上述信息并不影响你的程序运行.因为WebappX类装载器虽然会忽略掉WEB-INF/lib目录下servlet-api.jar包,但是,Common类装载器已经装载了servlet-api.jar包.如前所述,对于javax.*中的类, WebappX类装载器是要启动委托机制的,所以WebappX类装载器会得到Common类装载器返回的javax.*中的类.
如果不希望Tomcat5启动时输出上述信息,只需将servlet-api.jar包从应用程序中的WEB-INF/lib目录下移走就行了.
总结一下,Tomcat5类装载器系统在请求装载一个类时,它以下面列举的顺序进行:
·         Bootstrap (JAVA_HOME/jre/lib和JAVA_HOME/jre/lib/ext)
·         System (当前CLASSPATH上)
·         /WEB-INF/classes 和/WEB-INF/lib/*.jar
·         CATALINA_HOME/common/classes 
·         CATALINA_HOME/common/endorsed/*.jar 
·         CATALINA_HOME/common/lib/*.jar 
·         CATALINA_HOME/shared/classes 和CATALINA_HOME/shared/lib/*.jar
三.  Tomcat5与WEB应用
我们在用Tomcat5进行应用开发时,经常需要将第三方JAR包添加到应用中.通常的作法是Copy这些JAR包到/WEB-INF/lib目录下.
但是,有些情况可能不允许我们这样Copy JAR包到Tomcat5认可的目录下(如本文上一部分提到的Tomcat5下的目录).这样我们就只有修改CATALINA_HOME/bin/setclasspath.bat和CATALINA_HOME/bin/catalina.bat文件中的CLASSPATH变量了.
假设你需要添加ojdbc14.jar到你的应用中,而又不允许你把它从/oracle/ora92/jdbc/lib目录下Copy到别的目录下,于是你可能会修改CATALINA_HOME/bin/setclasspath.bat文件,新的文件中可能存在如下代码:
set CLASSPATH=%CLASSPATH%;D:/oracle/ora92/jdbc/lib/ojdbc14.jar
这样就满足了应用本身的要求.
1.      出现java.lang.NoClassDefFoundError错误
 
我们继续上面的讨论,同样是在不允许Copy JAR包的情况下.
当你在Tomcat5中部署一个应用时,发现该应用需要一个coreapi.jar包(这个JAR包是你的开发人员为一个正在开发的工具开发的,你要部署的应用是该工具的产品),由于该工具正在开发过程中,你和开发人员没有进行充分地沟通,所以不知道这个JAR包中的某一个类A.class继承了javax.servlet.Servlet类,于是你只在CATALINA_HOME/bin/setclasspath.bat文件添加如下代码,就没有把servlet-api.jar添加到CLASSPATH上.
set CLASSPATH=%CLASSPATH%;D:/myTool/lib/coreapi.jar
当你测试时,发现运行某一个URL时,会出现如下错误:
root cause 
java.lang.NoClassDefFoundError: javax/servlet/Servlet
...
下面我们就分析一下为什么会出现这个运行错误.
按照你的配置,coreapi.jar现处在CLASSPATH上,所以A.class被System类装载器装载. System类装载器在装载A.class时,发现它引用了javax.servlet.Servlet类,按照类装载器系统的委托模型,System类装载器会首先请求Bootstrap类装载器,Bootstrap类装载器不能返回javax.servlet.Servlet类给System类装载器,System类装载器自己也不能装载javax.servlet.Servlet类.也就是说,此时的类装载器系统在预装载时遇到一个缺失的javax.servlet.Servlet 类文件.但是,如本文第一部分中的装载 连接及初始化所述,在类装载器系统工作过程中开始阶段发生的这个问题并不会被马上报告,而是在javax.servlet.Servlet类被"首次主动使用时"抛出java.lang.NoClassDefFoundError(java.lang.LinkageError的子类之一).
解决该错误的方法当然就是把servlet-api.jar也添加到CLASSPATH上.如
set CLASSPATH=%CLASSPATH%;D:/myTool/lib/coreapi.jar;%BASEDIR%/common/lib/servlet-api.jar
2.   Tomcat5中的UserDatabase
Tomcat5默认配置了一个全局JNDI资源UserDatabase, 默认配置如下:
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory
        </value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
利用它,我们可以修改pathname下的值conf/tomcat-users.xml(该值可配,如改为<value>conf/tomcat-zzz.xml</value> 文件中的数据.
为了修改tomcat-users.xml文件中的数据,我们在WEB应用中可以先取得Object,例程如下:
例程2:
1        try {
2            InitialContext initCtx = new InitialContext();
3            Object obj = initCtx.lookup("java:comp/env/userDatabase" ;
4            UserDatabase udb = (UserDatabase) obj;
5        } catch (Exception e) {
6            e.printStackTrace();
7        }
当例程2运行时,会产生一个错误,如:
root cause 
java.lang.NoClassDefFoundError: org/apache/catalina/UserDatabase
...
上一错误是例程2中的第4行抛出的.因为UserDatabase类处在CATALINA_HOME/server/lib/catalina.jar包中,被Catalina类装载器装载.例程2所在的类处在WebappX类装载器,根据类装载器系统的委托机制, WebappX类装载器不会得到从Catalina类装载器返回的UserDatabase类.所以程序运行到例程2中的第4行时,会抛出java.lang.NoClassDefFoundError.
假设你把CATALINA_HOME/server/lib目录中的catalina.jar包及其相关JAR包Copy到/WEB-INF/lib目录下(当然这仅仅是一种测试情况),程序运行到第4行时,则会出现java.lang.ClassCastException. 因为WebappX类装载器得到的UserDatabase类是其本身装载的,与从JNDI中得到的UserDatabase类处在不同的命名空间中,是不同的类.
你还可以把catalina.jar包及其相关JAR包设置到CLASSPATH下.但还是强烈建议你不要这么做.
既然不能显式地声明UserDatabase类,我们可以通过反射(Reflection)的方式进行方法调用.
 
例程3:
        try {
            InitialContext initCtx = new InitialContext();
            Object obj = initCtx.lookup("java:comp/env/userDatabase" ;
            Class[] cl =
                new Class[] { String.class, String.class, String.class };
            Method cm = obj.getClass().getMethod("createUser", cl);
            String[] s = new String[] { "zzz", "zzz", "zzz" };
            cm.invoke(obj, s);
            Method sm = obj.getClass().getMethod("save", null);
            sm.invoke(obj, null);
        } catch (Exception e) {
            e.printStackTrace();
        }
这样上述程序就在tomcat-users.xml文件中插入了这样一行数据:
<user username="zzz" password="zzz" fullName="zzz"/>
四.  参考资料
1.      Bill Venners."Inside the Java Virtual Machine".McGraw-Hill Book Co,1997
2.       ::URL:: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
关于作者:本文作者张增志,目前在中国北京先进数通信息技术有限公司工作,从事Java方面的开发和研究。
Email:zzz8067@hotmail.com
联系地址:北京市海淀区车道沟1号滨河大厦D座6层
邮编:100089
D:\jdk1.852\bin\java.exe "-javaagent:D:\IDEA\IntelliJ IDEA 2025.2.3\lib\idea_rt.jar=53279" -Dfile.encoding=UTF-8 -classpath D:\jdk1.852\jre\lib\charsets.jar;D:\jdk1.852\jre\lib\deploy.jar;D:\jdk1.852\jre\lib\ext\access-bridge-64.jar;D:\jdk1.852\jre\lib\ext\cldrdata.jar;D:\jdk1.852\jre\lib\ext\dnsns.jar;D:\jdk1.852\jre\lib\ext\jaccess.jar;D:\jdk1.852\jre\lib\ext\jfxrt.jar;D:\jdk1.852\jre\lib\ext\localedata.jar;D:\jdk1.852\jre\lib\ext\nashorn.jar;D:\jdk1.852\jre\lib\ext\sunec.jar;D:\jdk1.852\jre\lib\ext\sunjce_provider.jar;D:\jdk1.852\jre\lib\ext\sunmscapi.jar;D:\jdk1.852\jre\lib\ext\sunpkcs11.jar;D:\jdk1.852\jre\lib\ext\zipfs.jar;D:\jdk1.852\jre\lib\javaws.jar;D:\jdk1.852\jre\lib\jce.jar;D:\jdk1.852\jre\lib\jfr.jar;D:\jdk1.852\jre\lib\jfxswt.jar;D:\jdk1.852\jre\lib\jsse.jar;D:\jdk1.852\jre\lib\management-agent.jar;D:\jdk1.852\jre\lib\plugin.jar;D:\jdk1.852\jre\lib\resources.jar;D:\jdk1.852\jre\lib\rt.jar;D:\dygz\web\WEB-INF\lib\slf4j-api-1.7.5.jar;D:\dygz\web\WEB-INF\lib\slf4j-log4j12-1.7.5.jar;D:\dygz\web\WEB-INF\lib\spring-jdbc-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\activation-1.1.1.jar;D:\dygz\web\WEB-INF\lib\activiti-bpmn-converter-5.14.jar;D:\dygz\web\WEB-INF\lib\activiti-bpmn-model-5.14.jar;D:\dygz\web\WEB-INF\lib\activiti-engine-5.14.jar;D:\dygz\web\WEB-INF\lib\activiti-spring-5.14.jar;D:\dygz\web\WEB-INF\lib\analyzer-2012_u6.jar;D:\dygz\web\WEB-INF\lib\antlr-2.7.7.jar;D:\dygz\web\WEB-INF\lib\aopalliance-1.0.jar;D:\dygz\web\WEB-INF\lib\apache-ant-zip-2.3.jar;D:\dygz\web\WEB-INF\lib\asm-4.2.jar;D:\dygz\web\WEB-INF\lib\aspectjrt-1.7.4.jar;D:\dygz\web\WEB-INF\lib\aspectjweaver-1.7.4.jar;D:\dygz\web\WEB-INF\lib\avro-1.6.3.jar;D:\dygz\web\WEB-INF\lib\bcpg-jdk15on-1.62.jar;D:\dygz\web\WEB-INF\lib\bcprov-jdk15on-1.70.jar;D:\dygz\web\WEB-INF\lib\BJCA_LOG.jar;D:\dygz\web\WEB-INF\lib\cglib-3.1.jar;D:\dygz\web\WEB-INF\lib\ckfinder-2.3.jar;D:\dygz\web\WEB-INF\lib\ckfinderplugin-fileeditor-2.3.jar;D:\dygz\web\WEB-INF\lib\ckfinderplugin-imageresize-2.3.jar;D:\dygz\web\WEB-INF\lib\classmate-0.8.0.jar;D:\dygz\web\WEB-INF\lib\commands-3.3.0-I20070605-0010.jar;D:\dygz\web\WEB-INF\lib\common-3.6.200-v20130402-1505.jar;D:\dygz\web\WEB-INF\lib\commons-beanutils-1.8.3.jar;D:\dygz\web\WEB-INF\lib\commons-codec-1.8.jar;D:\dygz\web\WEB-INF\lib\commons-collections-3.2.1.jar;D:\dygz\web\WEB-INF\lib\commons-collections4-4.1.jar;D:\dygz\web\WEB-INF\lib\commons-dbcp-1.4.jar;D:\dygz\web\WEB-INF\lib\commons-digester-1.7.jar;D:\dygz\web\WEB-INF\lib\commons-email-1.2.jar;D:\dygz\web\WEB-INF\lib\commons-fileupload-1.3.jar;D:\dygz\web\WEB-INF\lib\commons-io-2.4.jar;D:\dygz\web\WEB-INF\lib\commons-jexl-2.0.1.jar;D:\dygz\web\WEB-INF\lib\commons-lang-2.6.jar;D:\dygz\web\WEB-INF\lib\commons-lang3-3.1.jar;D:\dygz\web\WEB-INF\lib\commons-logging-1.1.1.jar;D:\dygz\web\WEB-INF\lib\commons-pool-1.5.4.jar;D:\dygz\web\WEB-INF\lib\cxf-core-3.2.0.jar;D:\tomcat\apache-tomcat-8.5.100;D:\dygz\web\WEB-INF\lib\jdom.jar;D:\dygz\web\WEB-INF\lib\ojdbc6.jar;D:\dygz\web\WEB-INF\lib\jstl-1.2.jar;D:\dygz\web\WEB-INF\lib\msyh_pdf.jar;D:\dygz\web\WEB-INF\lib\poi-3.16.jar;D:\dygz\web\WEB-INF\lib\sqljdbc4.jar;D:\dygz\web\WEB-INF\lib\iPeportFz.jar;D:\dygz\web\WEB-INF\lib\SVSClient.jar;D:\dygz\web\WEB-INF\lib\guava-18.0.jar;D:\dygz\web\WEB-INF\lib\junit-4.11.jar;D:\dygz\web\WEB-INF\lib\jxls-2.4.0.jar;D:\dygz\web\WEB-INF\lib\mail-1.4.7.jar;D:\dygz\web\WEB-INF\lib\zt-zip-1.6.jar;D:\dygz\web\WEB-INF\lib\dom4j-1.6.1.jar;D:\dygz\web\WEB-INF\lib\dozer-5.4.0.jar;D:\dygz\web\WEB-INF\lib\druid-1.0.1.jar;D:\dygz\web\WEB-INF\lib\jedis-2.1.0.jar;D:\dygz\web\WEB-INF\lib\log4j-1.2.17.jar;D:\dygz\web\WEB-INF\lib\pdfbox-3.0.5.jar;D:\dygz\web\WEB-INF\lib\wsdl4j-1.6.3.jar;D:\dygz\web\WEB-INF\lib\xmpbox-3.0.5.jar;D:\dygz\web\WEB-INF\lib\fontbox-3.0.5.jar;D:\dygz\web\WEB-INF\lib\jcommon-1.0.0.jar;D:\dygz\web\WEB-INF\lib\joda-time-2.1.jar;D:\dygz\web\WEB-INF\lib\mybatis-3.2.3.jar;D:\dygz\web\WEB-INF\lib\paranamer-2.3.jar;D:\dygz\web\WEB-INF\lib\xmpcore-5.1.2.jar;D:\dygz\web\WEB-INF\lib\xstream-1.4.3.jar;D:\dygz\web\WEB-INF\lib\fastjson-1.2.9.jar;D:\dygz\web\WEB-INF\lib\iTextAsian-2.1.jar;D:\dygz\web\WEB-INF\lib\pinyin4j-2.5.0.jar;D:\dygz\web\WEB-INF\lib\poi-ooxml-3.16.jar;D:\dygz\web\WEB-INF\lib\sitemesh-2.4.2.jar;D:\dygz\web\WEB-INF\lib\standard-1.1.2.jar;D:\dygz\web\WEB-INF\lib\stax-api-1.0.1.jar;D:\dygz\web\WEB-INF\lib\xmlbeans-2.3.0.jar;D:\dygz\web\WEB-INF\lib\jxls-poi-1.0.12.jar;D:\dygz\web\WEB-INF\lib\kingbase8-8.6.0.jar;D:\dygz\web\WEB-INF\lib\pdfbox-io-3.0.5.jar;D:\dygz\web\WEB-INF\lib\preflight-3.0.5.jar;D:\dygz\web\WEB-INF\lib\shiro-web-1.2.6.jar;D:\dygz\web\WEB-INF\lib\solr-core-3.6.2.jar;D:\dygz\web\WEB-INF\lib\stax2-api-3.1.4.jar;D:\dygz\web\WEB-INF\lib\swt-3.3.0-v3346.jar;D:\dygz\web\WEB-INF\lib\xml-apis-1.3.03.jar;D:\dygz\web\WEB-INF\lib\xmlpull-1.1.3.1.jar;D:\dygz\web\WEB-INF\lib\xmlworker-5.5.8.jar;D:\dygz\web\WEB-INF\lib\xpp3_min-1.1.4c.jar;D:\dygz\web\WEB-INF\lib\groovy-all-1.8.6.jar;D:\dygz\web\WEB-INF\lib\hutool-all-5.5.2.jar;D:\dygz\web\WEB-INF\lib\jfreechart-1.0.3.jar;D:\dygz\web\WEB-INF\lib\shiro-core-1.2.6.jar;D:\dygz\web\WEB-INF\lib\solr-solrj-3.6.2.jar;D:\dygz\web\WEB-INF\lib\xercesImpl-2.8.1.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-wsdl-3.2.0.jar;D:\dygz\web\WEB-INF\lib\ehcache-web-2.0.4.jar;D:\dygz\web\WEB-INF\lib\freemarker-2.3.19.jar;D:\dygz\web\WEB-INF\lib\hamcrest-core-1.3.jar;D:\dygz\web\WEB-INF\lib\jxls-jexcel-1.0.6.jar;D:\dygz\web\WEB-INF\lib\jxls-reader-2.0.2.jar;D:\dygz\web\WEB-INF\lib\lucene-core-3.6.2.jar;D:\dygz\web\WEB-INF\lib\lucene-misc-3.6.2.jar;D:\dygz\web\WEB-INF\lib\postgresql-42.2.9.jar;D:\dygz\web\WEB-INF\lib\sqlite-jdbc-3.8.7.jar;D:\dygz\web\WEB-INF\lib\ehcache-core-2.6.6.jar;D:\dygz\web\WEB-INF\lib\jackson-core-2.2.1.jar;D:\dygz\web\WEB-INF\lib\jul-to-slf4j-1.7.5.jar;D:\dygz\web\WEB-INF\lib\lucene-facet-3.6.2.jar;D:\dygz\web\WEB-INF\lib\pdfbox-tools-3.0.5.jar;D:\dygz\web\WEB-INF\lib\shiro-spring-1.2.6.jar;D:\dygz\web\WEB-INF\lib\UserAgentUtils-1.9.jar;D:\dygz\web\WEB-INF\lib\esspdf-client-1.6.2.jar;D:\dygz\web\WEB-INF\lib\hibernate-4.dialect.jar;D:\dygz\web\WEB-INF\lib\iTextAsianCmaps-2.1.jar;D:\dygz\web\WEB-INF\lib\jasperreports-6.3.1.jar;D:\dygz\web\WEB-INF\lib\javassist-3.15.0-GA.jar;D:\dygz\web\WEB-INF\lib\lucene-memory-3.6.2.jar;D:\dygz\web\WEB-INF\lib\poi-scratchpad-3.16.jar;D:\dygz\web\WEB-INF\lib\shiro-ehcache-1.2.6.jar;D:\dygz\web\WEB-INF\lib\snappy-java-1.0.4.1.jar;D:\dygz\web\WEB-INF\lib\ssoclient-2.1.1-3.1.jar;D:\dygz\web\WEB-INF\lib\thumbnailator-0.4.2.jar;D:\dygz\web\WEB-INF\lib\woodstox-core-5.0.3.jar;D:\dygz\web\WEB-INF\lib\jcl-over-slf4j-1.7.5.jar;D:\dygz\web\WEB-INF\lib\log4jdbc-remix-0.2.7.jar;D:\dygz\web\WEB-INF\lib\lucene-smartcn-3.6.2.jar;D:\dygz\web\WEB-INF\lib\lucene-spatial-3.6.2.jar;D:\dygz\web\WEB-INF\lib\lucene-stempel-3.6.2.jar;D:\dygz\web\WEB-INF\lib\mybatis-spring-1.2.1.jar;D:\dygz\web\WEB-INF\lib\xmlschema-core-2.2.2.jar;D:\dygz\web\WEB-INF\lib\lucene-grouping-3.6.2.jar;D:\dygz\web\WEB-INF\lib\lucene-kuromoji-3.6.2.jar;D:\dygz\web\WEB-INF\lib\lucene-phonetic-3.6.2.jar;D:\dygz\web\WEB-INF\lib\jackson-core-asl-1.9.9.jar;D:\dygz\web\WEB-INF\lib\jackson-databind-2.2.1.jar;D:\dygz\web\WEB-INF\lib\javaparser-core-3.18.0.jar;D:\dygz\web\WEB-INF\lib\jboss-logging-3.1.0.GA.jar;D:\dygz\web\WEB-INF\lib\lucene-analyzers-3.6.2.jar;D:\dygz\web\WEB-INF\lib\poi-ooxml-schemas-3.16.jar;D:\dygz\web\WEB-INF\lib\spring-tx-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\draw2d-3.2.100-v20070529.jar;D:\dygz\web\WEB-INF\lib\jackson-mapper-asl-1.8.8.jar;D:\dygz\web\WEB-INF\lib\lucene-highlighter-3.6.2.jar;D:\dygz\web\WEB-INF\lib\metadata-extractor-2.6.2.jar;D:\dygz\web\WEB-INF\lib\protostuff-uberjar-1.1.1.jar;D:\dygz\web\WEB-INF\lib\spring-aop-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\spring-orm-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\spring-oxm-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\spring-web-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\jackson-annotations-2.2.1.jar;D:\dygz\web\WEB-INF\lib\jasperreports-fonts-6.3.1.jar;D:\dygz\web\WEB-INF\lib\lucene-spellchecker-3.6.2.jar;D:\dygz\web\WEB-INF\lib\msm-kryo-serializer-1.8.3.jar;D:\dygz\web\WEB-INF\lib\spring-core-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\spring-test-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-bindings-soap-3.2.0.jar;D:\dygz\web\WEB-INF\lib\hibernate-core-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\jface-3.3.0-I20070606-0010.jar;D:\dygz\web\WEB-INF\lib\solr-analysis-extras-3.6.2.jar;D:\dygz\web\WEB-INF\lib\spring-beans-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\validation-api-1.1.0.Final.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-frontend-jaxws-3.2.0.jar;D:\dygz\web\WEB-INF\lib\mysql-connector-java-5.1.13.jar;D:\dygz\web\WEB-INF\lib\spring-webmvc-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-frontend-simple-3.2.0.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-transports-http-3.2.0.jar;D:\dygz\web\WEB-INF\lib\hibernate-search-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\spring-context-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\cxf-rt-databinding-jaxb-3.2.0.jar;D:\dygz\web\WEB-INF\lib\hibernate-ehcache-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\jasperreports-functions-6.3.1.jar;D:\dygz\web\WEB-INF\lib\hibernate-xunfad-18.24.RELEASE.jar;D:\dygz\web\WEB-INF\lib\hibernate-validator-5.0.1.Final.jar;D:\dygz\web\WEB-INF\lib\spring-data-redis-1.0.2.RELEASE.jar;D:\dygz\web\WEB-INF\lib\spring-expression-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\hibernate-search-orm-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\jasperreports-chart-themes-6.3.1.jar;D:\dygz\web\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.1.Final.jar;D:\dygz\web\WEB-INF\lib\itext-2.1.7.js6-20170307.125214-1.jar;D:\dygz\web\WEB-INF\lib\hibernate-search-engine-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\javaparser-symbol-solver-core-3.18.0.jar;D:\dygz\web\WEB-INF\lib\spring-context-support-3.2.5.RELEASE.jar;D:\dygz\web\WEB-INF\lib\jackson-module-jaxb-annotations-2.2.1.jar;D:\dygz\web\WEB-INF\lib\jasperreports-chart-customizers-6.3.1.jar;D:\dygz\web\WEB-INF\lib\hibernate-search-analyzers-4.2.0.Final.jar;D:\dygz\web\WEB-INF\lib\hibernate-spatial-postgis-kingbase-1.1.jar;D:\dygz\web\WEB-INF\lib\org.insightech.er_1.0.0.v20121127-2328.jar;D:\dygz\web\WEB-INF\lib\hibernate-commons-annotations-4.0.1.Final.jar;D:\dygz\web\WEB-INF\lib\jboss-transaction-api_1.1_spec-1.0.0.Final.jar;D:\tomcat\apache-tomcat-8.5.100\lib\el-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\jasper.jar;D:\tomcat\apache-tomcat-8.5.100\lib\ojdbc6.jar;D:\tomcat\apache-tomcat-8.5.100\lib\jsp-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\catalina.jar;D:\tomcat\apache-tomcat-8.5.100\lib\ecj-4.6.3.jar;D:\tomcat\apache-tomcat-8.5.100\lib\jasper-el.jar;D:\tomcat\apache-tomcat-8.5.100\lib\jaspic-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-jni.jar;D:\tomcat\apache-tomcat-8.5.100\lib\catalina-ha.jar;D:\tomcat\apache-tomcat-8.5.100\lib\servlet-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-dbcp.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-jdbc.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-util.jar;D:\tomcat\apache-tomcat-8.5.100\lib\catalina-ant.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-coyote.jar;D:\tomcat\apache-tomcat-8.5.100\lib\websocket-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-de.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-es.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-fr.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-ja.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-ko.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-ru.jar;D:\tomcat\apache-tomcat-8.5.100\lib\annotations-api.jar;D:\tomcat\apache-tomcat-8.5.100\lib\catalina-tribes.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-util-scan.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-websocket.jar;D:\tomcat\apache-tomcat-8.5.100\lib\tomcat-i18n-zh-CN.jar;D:\tomcat\apache-tomcat-8.5.100\lib\catalina-storeconfig.jar com.okflow.modules.exchange.pack.Application 进程已结束,退出代码为 0
10-17
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) ~[na:na] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.apache.catalina.startup.Tomcat.start(Tomcat.java:467) ~[tomcat-embed-core-9.0.31.jar!/:9.0.31] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:88) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:438) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:191) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) ~[spring-boot-2.2.5.RELEASE.jar!/:2.2.5.RELEASE] at com.cn.travel.TravelApplication.main(TravelApplication.java:16) ~[classes!/:0.0.1-SNAPSHOT] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) ~[travel-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) ~[travel-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) ~[travel-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) ~[travel-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] Caused by: java.lang.IllegalStateException: Not a file URL at org.springframework.boot.loader.jar.Handler.getRootJarFile(Handler.java:304) ~[travel-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] ... 58 common frames omitted 2025-07-10 04:43:26.009 INFO 26542 --- [ main] org.apache.jasper.servlet.TldScanner : 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. 2025-07-10 04:43:26.012 INFO 26542 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-07-10 04:43:26.012 INFO 26542 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1442 ms 2025-07-10 04:43:26.070 INFO 26542 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2025-07-10 04:43:26.258 INFO 26542 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited 2025-07-10 04:43:26.368 INFO 26542 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-07-10 04:43:26.468 INFO 26542 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.12.Final 2025-07-10 04:43:26.607 INFO 26542 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final} 2025-07-10 04:43:26.789 INFO 26542 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 2025-07-10 04:43:26.819 WARN 26542 --- [ main] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000341: Could not obtain connection metadata : Unknown column 'RESERVED' in 'WHERE' 2025-07-10 04:43:26.819 INFO 26542 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect 2025-07-10 04:43:26.986 INFO 26542 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2025-07-10 04:43:26.990 INFO 26542 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-07-10 04:43:27.624 WARN 26542 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning MyBatisConfiguration.pageHelper() 2025-07-10 04:43:27.806 INFO 26542 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2025-07-10 04:43:27.887 INFO 26542 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index 2025-07-10 04:43:27.933 WARN 26542 --- [ main] org.thymeleaf.templatemode.TemplateMode : [THYMELEAF][main] Template Mode 'LEGACYHTML5' is deprecated. Using Template Mode 'HTML' instead. 2025-07-10 04:43:27.958 INFO 26542 --- [ main] t.m.m.autoconfigure.MapperCacheDisabler : Clear tk.mybatis.mapper.util.MsUtil CLASS_CACHE cache. 2025-07-10 04:43:27.959 INFO 26542 --- [ main] t.m.m.autoconfigure.MapperCacheDisabler : Clear tk.mybatis.mapper.genid.GenIdUtil CACHE cache. 2025-07-10 04:43:27.960 INFO 26542 --- [ main] t.m.m.autoconfigure.MapperCacheDisabler : Clear tk.mybatis.mapper.version.VersionUtil CACHE cache. 2025-07-10 04:43:27.960 INFO 26542 --- [ main] t.m.m.autoconfigure.MapperCacheDisabler : Clear EntityHelper entityTableMap cache. 2025-07-10 04:43:28.068 INFO 26542 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2025-07-10 04:43:28.090 INFO 26542 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-07-10 04:43:28.092 ERROR 26542 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 80 was already in use. Action: Identify and stop the process that's listening on port 80 or configure this application to listen on another port. 2025-07-10 04:43:28.094 INFO 26542 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2025-07-10 04:43:28.095 INFO 26542 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2025-07-10 04:43:28.096 INFO 26542 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ... 2025-07-10 04:43:28.101 INFO 26542 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed ┌──(kali㉿kali)-[/mnt/hgfs/shiyansucai] └─$ sudo systemctl status mariadb ● mariadb.service - MariaDB 11.8.2 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled) Active: active (running) since Thu 2025-07-10 03:52:33 EDT; 51min ago Invocation: 0e8e759073774f3db4beb277c6a197b5 Docs: man:mariadbd(8) https://mariadb.com/kb/en/library/systemd/ Main PID: 1079 (mariadbd) Status: "Taking your SQL requests now..." Tasks: 11 (limit: 14518) Memory: 161M (peak: 162.7M, swap: 4K, swap peak: 4K) CPU: 2.785s CGroup: /system.slice/mariadb.service └─1079 /usr/sbin/mariadbd Jul 10 03:52:32 kali mariadbd[1079]: 2025-07-10 3:52:32 0 [Note] Plugin 'wsrep-provider' is disabled. Jul 10 03:52:32 kali mariadbd[1079]: 2025-07-10 3:52:32 0 [Note] Recovering after a crash using tc.log Jul 10 03:52:32 kali mariadbd[1079]: 2025-07-10 3:52:32 0 [Note] Starting table crash recovery... Jul 10 03:52:32 kali mariadbd[1079]: 2025-07-10 3:52:32 0 [Note] Crash table recovery finished. Jul 10 03:52:32 kali mariadbd[1079]: 2025-07-10 3:52:32 0 [Note] InnoDB: Buffer pool(s) load completed at 25> Jul 10 03:52:33 kali mariadbd[1079]: 2025-07-10 3:52:33 0 [Note] Server socket created on IP: '127.0.0.1'. Jul 10 03:52:33 kali mariadbd[1079]: 2025-07-10 3:52:33 0 [Note] mariadbd: Event Scheduler: Loaded 0 events Jul 10 03:52:33 kali mariadbd[1079]: 2025-07-10 3:52:33 0 [Note] /usr/sbin/mariadbd: ready for connections. Jul 10 03:52:33 kali mariadbd[1079]: Version: '11.8.2-MariaDB-1 from Debian' socket: '/run/mysqld/mysqld.soc> Jul 10 03:52:33 kali systemd[1]: Started mariadb.service - MariaDB 11.8.2 database server. ┌──(kali㉿kali)-[/mnt/hgfs/shiyansucai] └─$ mysql -u root -p123456 -h 127.0.0.1 travel_db -e "SELECT 1;" +---+ | 1 | +---+ | 1 | +---+ ┌──(kali㉿kali)-[/mnt/hgfs/shiyansucai] └─$ tail -f /mnt/hgfs/shiyansucai/logs/application.log tail: cannot open '/mnt/hgfs/shiyansucai
07-11
F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\catalina.bat run [2025-10-24 02:00:00,324] Artifact ssm13:war: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2" Using CATALINA_HOME: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111" Using CATALINA_TMPDIR: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_202" Using CLASSPATH: "F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\bootstrap.jar;F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\bin\tomcat-juli.jar" Using CATALINA_OPTS: "" Connected to the target VM, address: '127.0.0.1:60444', transport: 'socket' 24-Oct-2025 14:00:01.382 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/9.0.111 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Oct 10 2025 14:13:20 UTC 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号: 9.0.111.0 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 操作系统名称: Windows 10 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_202\jre 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java虚拟机版本: 1.8.0_202-b08 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2 24-Oct-2025 14:00:01.385 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.util.logging.config.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2\conf\logging.properties 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:60444,suspend=y,server=n 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -javaagent:C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\captureAgent\debugger-agent.jar 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote= 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.port=1099 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.ssl=false 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.password.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2\jmxremote.password 24-Oct-2025 14:00:01.386 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcom.sun.management.jmxremote.access.file=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2\jmxremote.access 24-Oct-2025 14:00:01.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.rmi.server.hostname=127.0.0.1 24-Oct-2025 14:00:01.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djdk.tls.ephemeralDHKeySize=2048 24-Oct-2025 14:00:01.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 24-Oct-2025 14:00:01.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dsun.io.useCanonCaches=false 24-Oct-2025 14:00:01.387 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dignore.endorsed.dirs= 24-Oct-2025 14:00:01.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcatalina.base=C:\Users\ZhuanZ1\AppData\Local\JetBrains\IntelliJIdea2020.1\tomcat\Unnamed_ssm13_2 24-Oct-2025 14:00:01.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Dcatalina.home=F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 24-Oct-2025 14:00:01.394 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数: -Djava.io.tmpdir=F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111 24-Oct-2025 14:00:01.397 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 使用APR版本[1.7.4]加载了基于APR的Apache Tomcat本机库[1.3.1]。 24-Oct-2025 14:00:01.397 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR功能:IPv6[true]、sendfile[true]、accept filters[false]、random[true]、UDS [true]。 24-Oct-2025 14:00:01.397 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL配置:useAprConnector[false],useOpenSSL[true] 24-Oct-2025 14:00:01.403 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL成功初始化 [OpenSSL 3.0.14 4 Jun 2024] 24-Oct-2025 14:00:01.635 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"] 24-Oct-2025 14:00:01.650 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[481]毫秒内初始化 24-Oct-2025 14:00:01.682 信息 [main] org.apache.catalina.core.StandardService.startInternal 正在启动服务[Catalina] 24-Oct-2025 14:00:01.682 信息 [main] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/9.0.111] 24-Oct-2025 14:00:01.696 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 24-Oct-2025 14:00:01.715 信息 [main] org.apache.catalina.startup.Catalina.start [64]毫秒后服务器启动 Connected to server [2025-10-24 02:00:01,890] Artifact ssm13:war: Artifact is being deployed, please wait... 24-Oct-2025 14:00:04.264 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 14:00:04.412 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started 14:00:04.473 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext 14:00:04.709 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.context.annotation.ClassPathBeanDefinitionScanner - Identified candidate component class: file [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\ROOT\WEB-INF\classes\com\example\service\impl\UserServiceImpl.class] 14:00:04.735 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 16 bean definitions from class path resource [spring/applicationContext.xml] 14:00:04.787 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 14:00:04.846 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' 14:00:04.899 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter. 14:00:04.902 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner - Identified candidate component class: file [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\ROOT\WEB-INF\classes\com\example\mapper\UserMapper.class] 14:00:04.904 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner - Creating MapperFactoryBean with name 'userMapper' and 'com.example.mapper.UserMapper' mapperInterface 14:00:04.908 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner - Enabling autowire by type for MapperFactoryBean with name 'userMapper'. 14:00:04.911 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0' 14:00:04.936 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.driver] 14:00:04.937 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.driver] not found - trying original name [jdbc.driver]. javax.naming.NameNotFoundException: ����[jdbc.driver]δ�ڴ��������а󶨡��Ҳ���[jdbc.driver]�� 14:00:04.937 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.driver] 14:00:04.937 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.driver] threw NamingException with message: ����[jdbc.driver]δ�ڴ��������а󶨡��Ҳ���[jdbc.driver]��. Returning null. 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.driver' in PropertySource 'localProperties' with value of type String 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.url] 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.url] not found - trying original name [jdbc.url]. javax.naming.NameNotFoundException: ����[jdbc.url]δ�ڴ��������а󶨡��Ҳ���[jdbc.url]�� 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.url] 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.url] threw NamingException with message: ����[jdbc.url]δ�ڴ��������а󶨡��Ҳ���[jdbc.url]��. Returning null. 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.url' in PropertySource 'localProperties' with value of type String 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.username] 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.username] not found - trying original name [jdbc.username]. javax.naming.NameNotFoundException: ����[jdbc.username]δ�ڴ��������а󶨡��Ҳ���[jdbc.username]�� 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.username] 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.username] threw NamingException with message: ����[jdbc.username]δ�ڴ��������а󶨡��Ҳ���[jdbc.username]��. Returning null. 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.username' in PropertySource 'localProperties' with value of type String 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/jdbc.password] 14:00:04.938 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/jdbc.password] not found - trying original name [jdbc.password]. javax.naming.NameNotFoundException: ����[jdbc.password]δ�ڴ��������а󶨡��Ҳ���[jdbc.password]�� 14:00:04.939 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [jdbc.password] 14:00:04.939 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [jdbc.password] threw NamingException with message: ����[jdbc.password]δ�ڴ��������а󶨡��Ҳ���[jdbc.password]��. Returning null. 14:00:04.939 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Found key 'jdbc.password' in PropertySource 'localProperties' with value of type String 14:00:04.950 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor' 14:00:04.952 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionalEventListenerFactory' 14:00:04.952 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory' 14:00:04.954 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 14:00:04.956 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 14:00:04.960 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator' 14:00:05.002 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.ui.context.support.UiApplicationContextUtils - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@30574995] 14:00:05.004 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'dataSource' 14:00:05.082 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor' 14:00:05.085 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 14:00:05.133 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'sqlSessionFactory' 14:00:05.154 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Property 'configuration' or 'configLocation' not specified, using default MyBatis Configuration 14:00:05.355 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.mybatis.spring.SqlSessionFactoryBean - Parsed mapper file: 'file [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\ROOT\WEB-INF\classes\mapper\UserMapper.xml]' 14:00:05.359 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionManager' 14:00:05.385 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0' 14:00:05.401 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'userServiceImpl' 14:00:05.421 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'userMapper' 14:00:05.468 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain] 14:00:05.468 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: ����[spring.liveBeansView.mbeanDomain]δ�ڴ��������а󶨡��Ҳ���[spring.liveBeansView.mbeanDomain]�� 14:00:05.468 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [spring.liveBeansView.mbeanDomain] 14:00:05.468 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: ����[spring.liveBeansView.mbeanDomain]δ�ڴ��������а󶨡��Ҳ���[spring.liveBeansView.mbeanDomain]��. Returning null. 14:00:05.471 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext initialized in 1056 ms 14:00:05.500 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.filter.CharacterEncodingFilter - Filter 'encodingFilter' configured for use 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcher' 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.profiles.active] 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.profiles.active] not found - trying original name [spring.profiles.active]. javax.naming.NameNotFoundException: ����[spring.profiles.active]δ�ڴ��������а󶨡��Ҳ���[spring.profiles.active]�� 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [spring.profiles.active] 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [spring.profiles.active] threw NamingException with message: ����[spring.profiles.active]δ�ڴ��������а󶨡��Ҳ���[spring.profiles.active]��. Returning null. 14:00:05.530 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.profiles.default] 14:00:05.531 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.profiles.default] not found - trying original name [spring.profiles.default]. javax.naming.NameNotFoundException: ����[spring.profiles.default]δ�ڴ��������а󶨡��Ҳ���[spring.profiles.default]�� 14:00:05.531 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [spring.profiles.default] 14:00:05.531 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [spring.profiles.default] threw NamingException with message: ����[spring.profiles.default]δ�ڴ��������а󶨡��Ҳ���[spring.profiles.default]��. Returning null. 14:00:05.533 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'dispatcher-servlet' 14:00:05.574 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.context.annotation.ClassPathBeanDefinitionScanner - Identified candidate component class: file [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\ROOT\WEB-INF\classes\com\example\controller\UserController.class] 14:00:05.625 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 29 bean definitions from class path resource [spring/spring-mvc.xml] 14:00:05.639 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' 14:00:05.683 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor' 14:00:05.683 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory' 14:00:05.684 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 14:00:05.685 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' 14:00:05.686 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.ui.context.support.UiApplicationContextUtils - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.DelegatingThemeSource@4d39c3bf] 14:00:05.687 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'userController' 14:00:05.689 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcContentNegotiationManager' 14:00:05.705 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping' 14:00:05.746 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcCorsConfigurations' 14:00:05.747 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#0' 14:00:05.749 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0' 14:00:05.841 [RMI TCP Connection(3)-127.0.0.1] DEBUG _org.springframework.web.servlet.HandlerMapping.Mappings - c.e.c.UserController: {GET [/users]}: listUsers(Model) 14:00:05.845 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - 1 mappings in 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping' 14:00:05.845 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter' 14:00:05.925 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter - ControllerAdvice beans: none 14:00:05.961 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'mvcUriComponentsContributor' 14:00:05.965 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter - ControllerAdvice beans: none 14:00:05.970 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0' 14:00:05.985 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - ControllerAdvice beans: none 14:00:05.985 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0' 14:00:05.990 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0' 14:00:05.993 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping' 14:00:06.002 [RMI TCP Connection(3)-127.0.0.1] DEBUG _org.springframework.web.servlet.HandlerMapping.Mappings - 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping' {} 14:00:06.002 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter' 14:00:06.003 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter' 14:00:06.003 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'localeResolver' 14:00:06.003 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'themeResolver' 14:00:06.003 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'viewNameTranslator' 14:00:06.003 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'flashMapManager' 14:00:06.004 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0' 14:00:06.006 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' 14:00:06.012 [RMI TCP Connection(3)-127.0.0.1] DEBUG _org.springframework.web.servlet.HandlerMapping.Mappings - 'org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0' {/**=org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler@520b82a0} 14:00:06.012 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'templateResolver' 14:00:06.030 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'templateEngine' 14:00:06.069 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.thymeleaf.spring5.view.ThymeleafViewResolver#0' 14:00:06.086 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - Detected AcceptHeaderLocaleResolver 14:00:06.086 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - Detected FixedThemeResolver 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@10184ce8 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - Detected org.springframework.web.servlet.support.SessionFlashMapManager@2cdfcb57 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain] 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: ����[spring.liveBeansView.mbeanDomain]δ�ڴ��������а󶨡��Ҳ���[spring.liveBeansView.mbeanDomain]�� 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiTemplate - Looking up JNDI object with name [spring.liveBeansView.mbeanDomain] 14:00:06.088 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.jndi.JndiPropertySource - JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: ����[spring.liveBeansView.mbeanDomain]δ�ڴ��������а󶨡��Ҳ���[spring.liveBeansView.mbeanDomain]��. Returning null. 14:00:06.089 [RMI TCP Connection(3)-127.0.0.1] DEBUG org.springframework.web.servlet.DispatcherServlet - enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data 14:00:06.089 [RMI TCP Connection(3)-127.0.0.1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 559 ms [2025-10-24 02:00:06,105] Artifact ssm13:war: Artifact is deployed successfully [2025-10-24 02:00:06,106] Artifact ssm13:war: Deploy took 4,216 milliseconds 24-Oct-2025 14:00:11.709 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\manager] 24-Oct-2025 14:00:11.762 信息 [Catalina-utility-2] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 24-Oct-2025 14:00:11.772 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Web应用程序目录[F:\apache-tomcat-9.0.111-windows-x64\apache-tomcat-9.0.111\webapps\manager]的部署已在[61]毫秒内完成 14:00:16.864 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.DispatcherServlet - GET "/users", parameters={} 14:00:16.871 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped to com.example.controller.UserController#listUsers(Model) 14:00:16.907 [http-nio-8080-exec-4] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 14:00:16.913 [http-nio-8080-exec-4] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17570f6] was not registered for synchronization because synchronization is not active 14:00:16.924 [http-nio-8080-exec-4] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 14:00:16.983 [http-nio-8080-exec-4] INFO com.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited 14:00:17.214 [http-nio-8080-exec-4] DEBUG org.mybatis.spring.transaction.SpringManagedTransaction - JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@47249dc6] will not be managed by Spring 14:00:17.219 [http-nio-8080-exec-4] DEBUG com.example.mapper.UserMapper.findAll - ==> Preparing: SELECT * FROM user 14:00:17.238 [http-nio-8080-exec-4] DEBUG com.example.mapper.UserMapper.findAll - ==> Parameters: 14:00:17.263 [http-nio-8080-exec-4] DEBUG com.example.mapper.UserMapper.findAll - <== Total: 1 14:00:17.264 [http-nio-8080-exec-4] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@17570f6] 14:00:17.271 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.DispatcherServlet - Failed to complete request: javax.servlet.ServletException: Could not resolve view with name 'user_list' in servlet with name 'dispatcher'
最新发布
10-25
D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\bin\catalina.bat run [2025-09-11 08:47:18,026] Artifact day06_maven-usermanager:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc" Using CATALINA_HOME: "D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31" Using CATALINA_TMPDIR: "D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\temp" Using JRE_HOME: "C:\Users\28395\.jdks\corretto-1.8.0_462" Using CLASSPATH: "D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\bin\bootstrap.jar;D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\bin\tomcat-juli.jar" Connected to the target VM, address: '127.0.0.1:58122', transport: 'socket' 11-Sep-2025 20:47:19.334 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.31 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 27 2018 20:24:25 UTC 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.31.0 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 11 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Users\28395\.jdks\corretto-1.8.0_462\jre 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_462-b08 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Amazon.com Inc. 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc\conf\logging.properties 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:58122,suspend=y,server=n 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\captureAgent\debugger-agent.jar 11-Sep-2025 20:47:19.336 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc\jmxremote.password 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc\jmxremote.access 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\28395\AppData\Local\JetBrains\IntelliJIdea2022.2\tomcat\421bca92-fdf0-4a3c-b2c8-3556c50639fc 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\temp 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3]. 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 11-Sep-2025 20:47:19.337 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 11-Sep-2025 20:47:19.761 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017] 11-Sep-2025 20:47:19.819 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 11-Sep-2025 20:47:19.829 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 11-Sep-2025 20:47:19.834 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 11-Sep-2025 20:47:19.835 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 11-Sep-2025 20:47:19.835 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 710 ms 11-Sep-2025 20:47:19.859 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 11-Sep-2025 20:47:19.859 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.31 11-Sep-2025 20:47:19.873 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 11-Sep-2025 20:47:19.879 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 11-Sep-2025 20:47:19.881 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 46 ms Connected to server [2025-09-11 08:47:20,159] Artifact day06_maven-usermanager:war exploded: Artifact is being deployed, please wait... 11-Sep-2025 20:47:20.355 警告 [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used. 11-Sep-2025 20:47:21.212 信息 [RMI TCP Connection(2)-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. [2025-09-11 08:47:21,664] Artifact day06_maven-usermanager:war exploded: Artifact is deployed successfully [2025-09-11 08:47:21,664] Artifact day06_maven-usermanager:war exploded: Deploy took 1,507 milliseconds 11-Sep-2025 20:47:29.881 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\webapps\manager] 11-Sep-2025 20:47:29.986 信息 [localhost-startStop-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. 11-Sep-2025 20:47:30.034 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\BaiduNetdiskDownload\tomcat\apache-tomcat-8.5.31-windows-x64\apache-tomcat-8.5.31\webapps\manager] has finished in [152] ms
09-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值