一、该问题的重现步骤是什么?
在pom文件中增加以下配置:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
2. 修改启动类,如下:
/*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package org.springblade;
import org.springblade.common.constant.CommonConstant;
import org.springblade.core.launch.BladeApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* 启动器
*
* @author Chill
*/
@EnableScheduling
@SpringBootApplication
public class Application extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return BladeApplication.createSpringApplicationBuilder(CommonConstant.APPLICATION_NAME, Application.class).sources(Application.class);
}
public static void main(String[] args) {
BladeApplication.run(CommonConstant.APPLICATION_NAME, Application.class, args);
}
}
3.配置Tomcat,如下:
二、你期待的结果是什么?实际看到的又是什么?
能够在Tomcat中直接进行调试和发布
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
操作系统:Windows10
BladeX版本:2.5.1.RELEASE
四、请提供详细的错误堆栈信息,这很重要。
[2020-10-23 04:57:28,131] Artifact BladeX-Boot:war: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot"
Using CATALINA_HOME: "D:\java\apache-tomcat-8.5.57"
Using CATALINA_TMPDIR: "D:\java\apache-tomcat-8.5.57\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_202"
Using CLASSPATH: "D:\java\apache-tomcat-8.5.57\bin\bootstrap.jar;D:\java\apache-tomcat-8.5.57\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:57669', transport: 'socket'
23-Oct-2020 16:57:31.520 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/8.5.57
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄦ瀯寤�: Jun 30 2020 21:49:10 UTC
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄧ増鏈彿(: 8.5.57.0
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鎿嶄綔绯荤粺鍚嶇О: Windows 10
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰: 10.0
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏋舵瀯: amd64
23-Oct-2020 16:57:31.523 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺: C:\Program Files\Java\jdk1.8.0_202\jre
23-Oct-2020 16:57:31.524 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java铏氭嫙鏈虹増鏈�: 1.8.0_202-b08
23-Oct-2020 16:57:31.524 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�: Oracle Corporation
23-Oct-2020 16:57:31.524 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot
23-Oct-2020 16:57:31.524 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\java\apache-tomcat-8.5.57
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.util.logging.config.file=C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot\conf\logging.properties
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:57669,suspend=y,server=n
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-javaagent:C:\Users\pjj_d\.IntelliJIdea2019.2\system\captureAgent\debugger-agent.jar
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dfile.encoding=utf-8
23-Oct-2020 16:57:31.525 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote=
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.port=1099
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.ssl=false
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.password.file=C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot\jmxremote.password
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcom.sun.management.jmxremote.access.file=C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot\jmxremote.access
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.rmi.server.hostname=127.0.0.1
23-Oct-2020 16:57:31.526 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djdk.tls.ephemeralDHKeySize=2048
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dignore.endorsed.dirs=
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcatalina.base=C:\Users\pjj_d\.IntelliJIdea2019.2\system\tomcat\Unnamed_BladeX-Boot
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Dcatalina.home=D:\java\apache-tomcat-8.5.57
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細-Djava.io.tmpdir=D:\java\apache-tomcat-8.5.57\temp
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 浣跨敤APR鐗堟湰[1.7.0]鍔犺浇浜嗗熀浜嶢PR鐨凙pache Tomcat鏈満搴揫1.2.24]銆�
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR鍔熻兘锛欼Pv6[true]銆乻endfile[true]銆乤ccept filters[false]銆乺andom[true]銆�
23-Oct-2020 16:57:31.527 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL閰嶇疆锛歶seAprConnector[false]锛寀seOpenSSL[true]
23-Oct-2020 16:57:31.536 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL鎴愬姛鍒濆鍖� [OpenSSL 1.1.1g 21 Apr 2020]
23-Oct-2020 16:57:31.819 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"]
23-Oct-2020 16:57:31.872 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
23-Oct-2020 16:57:31.899 淇℃伅 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1062 ms
23-Oct-2020 16:57:31.971 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal 姝e湪鍚姩鏈嶅姟[Catalina]
23-Oct-2020 16:57:31.971 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.57
23-Oct-2020 16:57:32.007 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"]
23-Oct-2020 16:57:32.031 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in 131 ms
Connected to server
[2020-10-23 04:57:32,406] Artifact BladeX-Boot:war: Artifact is being deployed, please wait...
23-Oct-2020 16:57:42.011 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰� [D:\java\apache-tomcat-8.5.57\webapps\manager]
23-Oct-2020 16:57:42.295 淇℃伅 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 鑷冲皯鏈変竴涓狫AR琚壂鎻忕敤浜嶵LD浣嗗皻鏈寘鍚玊LD銆� 涓烘璁板綍鍣ㄥ惎鐢ㄨ皟璇曟棩蹇楄褰曪紝浠ヨ幏鍙栧凡鎵弿浣嗘湭鍦ㄥ叾涓壘鍒癟LD鐨勫畬鏁碕AR鍒楄〃銆� 鍦ㄦ壂鎻忔湡闂磋烦杩囦笉闇�瑕佺殑JAR鍙互缂╃煭鍚姩鏃堕棿鍜孞SP缂栬瘧鏃堕棿銆�
23-Oct-2020 16:57:42.397 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Web搴旂敤绋嬪簭鐩綍[D:\java\apache-tomcat-8.5.57\webapps\manager]鐨勯儴缃插凡鍦╗385]姣鍐呭畬鎴�
23-Oct-2020 16:58:09.425 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 鑷冲皯鏈変竴涓狫AR琚壂鎻忕敤浜嶵LD浣嗗皻鏈寘鍚玊LD銆� 涓烘璁板綍鍣ㄥ惎鐢ㄨ皟璇曟棩蹇楄褰曪紝浠ヨ幏鍙栧凡鎵弿浣嗘湭鍦ㄥ叾涓壘鍒癟LD鐨勫畬鏁碕AR鍒楄〃銆� 鍦ㄦ壂鎻忔湡闂磋烦杩囦笉闇�瑕佺殑JAR鍙互缂╃煭鍚姩鏃堕棿鍜孞SP缂栬瘧鏃堕棿銆�
----鍚姩涓紝璇诲彇鍒扮殑鐜鍙橀噺:[dev]锛宩ar鍦板潃:[/D:/java/apache-tomcat-8.5.57/webapps/blade-api/WEB-INF/classes/]----
______ _ _ ___ ___
| ___ \| | | | \ \ / /
| |_/ /| | __ _ __| | ___ \ V /
| ___ \| | / _` | / _` | / _ \ > <
| |_/ /| || (_| || (_| || __/ / . \
\____/ |_| \__,_| \__,_| \___|/__/ \__\
:: BladeX 2.5.1.RELEASE :: blade-api:dev :: Running SpringBoot 2.1.14.RELEASE ::
2020-10-23 16:58:17.811 INFO 24784 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication : The following profiles are active: dev
2020-10-23 16:58:28.343 INFO 24784 --- [on(3)-127.0.0.1] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2020-10-23 16:58:28.362 INFO 24784 --- [on(3)-127.0.0.1] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2020-10-23 16:58:29.708 INFO 24784 --- [on(3)-127.0.0.1] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1258ms. Found 0 Redis repository interfaces.
2020-10-23 16:58:30.812 WARN 24784 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[org.springblade]' package. Please check your configuration.
2020-10-23 16:58:31.349 INFO 24784 --- [on(3)-127.0.0.1] o.s.cloud.context.scope.GenericScope : BeanFactory id=09b421e3-b659-3ec8-aa2c-d81a4c93eea6
2020-10-23 16:58:31.365 INFO 24784 --- [on(3)-127.0.0.1] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.
2020-10-23 16:58:31.366 INFO 24784 --- [on(3)-127.0.0.1] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.
23-Oct-2020 16:58:35.331 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"]
2020-10-23 16:58:35.329 INFO 24784 --- [on(3)-127.0.0.1] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
23-Oct-2020 16:58:35.331 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardService.startInternal 姝e湪鍚姩鏈嶅姟[Tomcat]
23-Oct-2020 16:58:35.332 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.57
23-Oct-2020 16:58:35.885 涓ラ噸 [localhost-startStop-1] org.apache.catalina.loader.WebappLoader.startInternal LifecycleException
java.lang.ClassNotFoundException: org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:513)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5001)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402)
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
at java.util.concurrent.FutureTask.run(FutureTask.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
23-Oct-2020 16:58:35.888 涓ラ噸 [Tomcat-startStop-1] org.apache.catalina.core.ContainerBase.startInternal 瀛愬鍣ㄥ惎鍔ㄥけ璐�
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: start:
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402)
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
at java.util.concurrent.FutureTask.run(FutureTask.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: start:
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:423)
2020-10-23 16:58:35.920 WARN 24784 --- [on(3)-127.0.0.1] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5001)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:513)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
... 10 more
23-Oct-2020 16:58:35.891 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase.startInternal 瀛愬鍣ㄥ惎鍔ㄥけ璐�
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2020-10-23 16:58:35.944 INFO 24784 --- [on(3)-127.0.0.1] ConditionEvaluationReportLoggingListener :
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:105)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:416)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:479)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2020-10-23 16:58:35.974 ERROR 24784 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication : Application run failed
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at sun.rmi.transport.tc at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
p.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:479)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:428)
at java.lang.Thread.run(Thread.java:748)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at java.util.concurrent.FutureTask.run(FutureTask.java)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
... 3 more
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: start:
at java.security.AccessController.doPrivileged(Native Method)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 9 more
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Caused by: org.apache.catalina.LifecycleException: start:
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:423)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5001)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
... 8 more
at sun.rmi.transport.Transport$1.run(Transport.java:197)
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.lang.Class.forName0(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.lang.Class.forName(Class.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:513)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
at java.lang.Thread.run(Thread.java:748)
... 10 more
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
23-Oct-2020 16:58:35.909 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.coyote.AbstractProtocol.pause 鏆傚仠ProtocolHandler["http-nio-8080"]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:124)
23-Oct-2020 16:58:35.909 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardService.stopInternal 姝e湪鍋滄鏈嶅姟[Tomcat]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86)
23-Oct-2020 16:58:35.912 淇℃伅 [RMI TCP Connection(3)-127.0.0.1] org.apache.coyote.AbstractProtocol.destroy 姝e湪鎽ф瘉鍗忚澶勭悊鍣� ["http-nio-8080"]
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:416)
23-Oct-2020 16:58:35.981 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:180)
org.apache.catalina.LifecycleException: 鏃犳硶鍚姩缁勪欢[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/blade-api]]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
... 55 common frames omitted
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
Caused by: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:105)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
... 60 common frames omitted
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:479)
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:428)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
... 68 common frames omitted
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at java.util.concurrent.FutureTask.run(FutureTask.java)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
... 3 common frames omitted
at java.security.AccessController.doPrivileged(Native Method)
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: start:
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
... 9 common frames omitted
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.catalina.LifecycleEx at java.lang.reflect.Method.invoke(Method.java:498)
ception: start:
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:423)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5001)
at java.security.AccessController.doPrivileged(Native Method)
... 8 common frames omitted
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.Class.forName0(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.lang.Class.forName(Class.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:513)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
at java.lang.Thread.run(Thread.java:748)
... 10 common frames omitted
Caused by: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:156)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5144)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 44 more
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:124)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:416)
at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:153)
... 55 more
Caused by: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:105)
... 60 more
[2020-10-23 04:58:36,128] Artifact BladeX-Boot:war: Error during artifact deployment. See server log for details.
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
... 68 more
Caused by: org.apache.catalina.LifecycleException: 瀛愬鍣ㄥ惎鍔ㄥけ璐�
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402)
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
at java.util.concurrent.FutureTask.run(FutureTask.java)
... 3 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: start:
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
... 9 more
Caused by: org.apache.catalina.LifecycleException: start:
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5001)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.catalina.loader.WebappLoader.createClassLoader(WebappLoader.java:513)
at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:398)
... 10 more
23-Oct-2020 16:58:36.007 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method manageApp
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 鏃犳硶鍚姩缁勪欢[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/blade-api]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:479)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.
商业版答疑规则见:https://sns.bladex.cn/article-14990.html
请将账号邮箱修改为下单购买授权的qq邮箱便可咨询商业版疑问
已经修改为商业版授权的QQ邮箱了
扫一扫访问 Blade技术社区 移动端