war 打包出错(tomcat外置、BladeX-Boot 2.8.1.RELEASE)

Blade 未结 0 325
ZCFGO
ZCFGO 剑童 2023-12-13 14:12

一、该问题的重现步骤是什么?

  我使用的是 BladeX-Boot 2.8.1.RELEASE

 1. 添加tomcat依赖

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <scope>provided</scope>
</dependency>


 2. blade-core-boot排除undertow依赖

<dependency>
            <groupId>org.springblade</groupId>
            <artifactId>blade-core-boot</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springblade</groupId>
                    <artifactId>blade-core-cloud</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-undertow</artifactId>
                </exclusion>
            </exclusions>
</dependency>

  

3.pom文件修改打包类型为war

<groupId>org.springblade</groupId>
<artifactId>BladeX-Boot</artifactId>
<packaging>war</packaging>
<version>2.8.1.RELEASE</version>


4.添加war包插件

<plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <!--如果想在没有web.xml文件的情况下构建WAR,请设置为false。-->
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                </configuration>
</plugin>

5.application.yaml添加修改

#服务器配置

server:
  port: 80
spring:
  application:
    name: blade-api
  profiles:
    active: dev
  main:
    allow-bean-definition-overriding: true

  

  6.Application类修改,最重要的一步

image.png

   7. 在IDEA tomcat 中运行报错

二、你期待的结果是什么?实际看到的又是什么?

项目正常在 tomcat 中运行,平台接口能正常调用

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

产品:BladeX-Boot

版本:2.8.1.RELEASE
操作系统:Windows

四、请提供详细的错误堆栈信息,这很重要。

E:\ZCFTools\apache-tomcat-9.0.41\bin\catalina.bat run

[2023-12-13 11:25:18,741] Artifact star-cps-api:war exploded: Waiting for server connection to start artifact deployment...

Using CATALINA_BASE:   "C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a"

Using CATALINA_HOME:   "E:\ZCFTools\apache-tomcat-9.0.41"

Using CATALINA_TMPDIR: "E:\ZCFTools\apache-tomcat-9.0.41\temp"

Using JRE_HOME:        "E:\Java\jdk1.8.0_311"

Using CLASSPATH:       "E:\ZCFTools\apache-tomcat-9.0.41\bin\bootstrap.jar;E:\ZCFTools\apache-tomcat-9.0.41\bin\tomcat-juli.jar"

Using CATALINA_OPTS:   ""

Connected to the target VM, address: '127.0.0.1:9637', transport: 'socket'

13-Dec-2023 11:25:19.439 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/9.0.41

13-Dec-2023 11:25:19.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建:        Dec 3 2020 11:43:00 UTC

13-Dec-2023 11:25:19.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号:      9.0.41.0

13-Dec-2023 11:25:19.440 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 操作系统名称:      Windows 10

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本:           10.0

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构:              amd64

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量:     E:\Java\jdk1.8.0_311\jre

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java虚拟机版本:    1.8.0_311-b11

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商:        Oracle Corporation

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:     C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:     E:\ZCFTools\apache-tomcat-9.0.41

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djava.util.logging.config.file=C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a\conf\logging.properties

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9637,suspend=y,server=n

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -javaagent:C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\captureAgent\debugger-agent.jar

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcom.sun.management.jmxremote=

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcom.sun.management.jmxremote.port=1099

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcom.sun.management.jmxremote.ssl=false

13-Dec-2023 11:25:19.441 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcom.sun.management.jmxremote.password.file=C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a\jmxremote.password

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcom.sun.management.jmxremote.access.file=C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a\jmxremote.access

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djava.rmi.server.hostname=127.0.0.1

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djdk.tls.ephemeralDHKeySize=2048

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djava.protocol.handler.pkgs=org.apache.catalina.webresources

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dignore.endorsed.dirs=

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcatalina.base=C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\tomcat\bf246ccc-9788-45db-8b0a-b528a11c064a

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Dcatalina.home=E:\ZCFTools\apache-tomcat-9.0.41

13-Dec-2023 11:25:19.442 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 命令行参数:       -Djava.io.tmpdir=E:\ZCFTools\apache-tomcat-9.0.41\temp

13-Dec-2023 11:25:19.452 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 在java.library.path:[E:\Java\jdk1.8.0_311\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;E:\Java\jdk1.8.0_311\bin;D:\中国电子口岸客户端控件\libs\txrn;D:\中国电子口岸客户端控件\libs\MOFCOM;D:\中国电子口岸客户端控件\libs\cus;D:\中国电子口岸客户端控件\libs\pdfes;D:\中国电子口岸客户端控件\libs\pdf;D:\中国电子口岸客户端控件\libs\others;D:\中国电子口岸客户端控件\libs;D:\中国电子口岸客户端控件\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files\7-Zip;E:\Xshell 7\;E:\Program Files (x86)\Yarn\bin\;E:\Program Files\TortoiseGit\bin;E:\Program Files\PuTTY\;E:\Program Files\Redis\;E:\ZCFTools\apache-maven-3.6.1\bin;E:\Xftp 7\;D:\Program Files\Liquid Technologies\Liquid Studio 2021\XmlDataBinder19\Redist19\cpp\win32\bin;D:\Program Files\Liquid Technologies\Liquid Studio 2021\XmlDataBinder19\Redist19\cpp\win64\bin;E:\Program Files\nodejs\;E:\Program Files\MongoDB\Server\4.0\bin;E:\Program Files\Go\bin;C:\Program Files\dotnet\;E:\Program Files\Git\cmd;D:\PipeCAD;D:\PipeCAD\Scripts;E:\Tencent\web开发者工具\dll;E:\ZCFTools\platform-tools;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\admin\.windows-build-tools\python27\;C:\Users\admin\.windows-build-tools\python27\;C:\Users\admin\.windows-build-tools\python27\;C:\Users\admin\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\admin\AppData\Local\Programs\Python\Python36\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;E:\Microsoft VS Code\bin;C:\Users\admin\AppData\Local\Yarn\bin;;E:\JetBrains\IntelliJ IDEA 2021.2.2\bin;;C:\Users\admin\AppData\Roaming\npm;C:\Users\admin\go\bin;.]上找不到基于APR的Apache Tomcat本机库,该库允许在生产环境中获得最佳性能

13-Dec-2023 11:25:19.661 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]

13-Dec-2023 11:25:19.680 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[384]毫秒内初始化

13-Dec-2023 11:25:19.711 信息 [main] org.apache.catalina.core.StandardService.startInternal 正在启动服务[Catalina]

13-Dec-2023 11:25:19.711 信息 [main] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/9.0.41]

13-Dec-2023 11:25:19.722 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"]

13-Dec-2023 11:25:19.732 信息 [main] org.apache.catalina.startup.Catalina.start [51]毫秒后服务器启动

Connected to server

[2023-12-13 11:25:19,923] Artifact star-cps-api:war exploded: Artifact is being deployed, please wait...

13-Dec-2023 11:25:29.727 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [E:\ZCFTools\apache-tomcat-9.0.41\webapps\manager]

13-Dec-2023 11:25:29.848 信息 [Catalina-utility-2] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。

13-Dec-2023 11:25:29.957 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Web应用程序目录[E:\ZCFTools\apache-tomcat-9.0.41\webapps\manager]的部署已在[230]毫秒内完成

13-Dec-2023 11:25:30.776 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。

----�����У���ȡ���Ļ�������:[dev]��jar��ַ:[/E:/ZCFProjects/IDEAProjects/star-cps-war/star-cps-api/target/star-cps/WEB-INF/classes/]----

                   ______  _             _       ___   ___

                   | ___ \| |           | |      \  \ /  /

                   | |_/ /| |  __ _   __| |  ___  \  V  /

                   | ___ \| | / _` | / _` | / _ \   > <

                   | |_/ /| || (_| || (_| ||  __/ /  .  \

                   \____/ |_| \__,_| \__,_| \___|/__/ \__\


:: BladeX 2.8.1.RELEASE :: blade-api:dev :: Running SpringBoot 2.2.13.RELEASE :: 


2023-12-13 11:25:38.692  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'bladeMapper' and 'org.springblade.core.mp.mapper.BladeMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'datasourceMapper' and 'org.springblade.modules.develop.mapper.DatasourceMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'apiScopeMapper' and 'org.springblade.modules.system.mapper.ApiScopeMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'authClientMapper' and 'org.springblade.modules.system.mapper.AuthClientMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'dataScopeMapper' and 'org.springblade.modules.system.mapper.DataScopeMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'deptMapper' and 'org.springblade.modules.system.mapper.DeptMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'dictBizMapper' and 'org.springblade.modules.system.mapper.DictBizMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'dictMapper' and 'org.springblade.modules.system.mapper.DictMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'logApiMapper' and 'org.springblade.modules.system.mapper.LogApiMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.698  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'logErrorMapper' and 'org.springblade.modules.system.mapper.LogErrorMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'logUsualMapper' and 'org.springblade.modules.system.mapper.LogUsualMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'menuMapper' and 'org.springblade.modules.system.mapper.MenuMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'paramMapper' and 'org.springblade.modules.system.mapper.ParamMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'postMapper' and 'org.springblade.modules.system.mapper.PostMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'regionMapper' and 'org.springblade.modules.system.mapper.RegionMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'roleMapper' and 'org.springblade.modules.system.mapper.RoleMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'roleMenuMapper' and 'org.springblade.modules.system.mapper.RoleMenuMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'roleScopeMapper' and 'org.springblade.modules.system.mapper.RoleScopeMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'tenantMapper' and 'org.springblade.modules.system.mapper.TenantMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'topMenuMapper' and 'org.springblade.modules.system.mapper.TopMenuMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'topMenuSettingMapper' and 'org.springblade.modules.system.mapper.TopMenuSettingMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userAppMapper' and 'org.springblade.modules.system.mapper.UserAppMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userDeptMapper' and 'org.springblade.modules.system.mapper.UserDeptMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userMapper' and 'org.springblade.modules.system.mapper.UserMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.699  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userOauthMapper' and 'org.springblade.modules.system.mapper.UserOauthMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userOtherMapper' and 'org.springblade.modules.system.mapper.UserOtherMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'userWebMapper' and 'org.springblade.modules.system.mapper.UserWebMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfButtonMapper' and 'org.springblade.plugin.workflow.design.mapper.WfButtonMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfCategoryMapper' and 'org.springblade.plugin.workflow.design.mapper.WfCategoryMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfConditionMapper' and 'org.springblade.plugin.workflow.design.mapper.WfConditionMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfDeploymentFormMapper' and 'org.springblade.plugin.workflow.design.mapper.WfDeploymentFormMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfFormDefaultValuesMapper' and 'org.springblade.plugin.workflow.design.mapper.WfFormDefaultValuesMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfFormHistoryMapper' and 'org.springblade.plugin.workflow.design.mapper.WfFormHistoryMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfFormMapper' and 'org.springblade.plugin.workflow.design.mapper.WfFormMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.700  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfModelHistoryMapper' and 'org.springblade.plugin.workflow.design.mapper.WfModelHistoryMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfModelMapper' and 'org.springblade.plugin.workflow.design.mapper.WfModelMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfModelScopeMapper' and 'org.springblade.plugin.workflow.design.mapper.WfModelScopeMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfSerialMapper' and 'org.springblade.plugin.workflow.design.mapper.WfSerialMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfCopyMapper' and 'org.springblade.plugin.workflow.process.mapper.WfCopyMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'wfDraftMapper' and 'org.springblade.plugin.workflow.process.mapper.WfDraftMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'commonLabelInfoMapper' and 'org.springblade.modules.system.mapper.CommonLabelInfoMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'organizationMapper' and 'org.springblade.modules.system.mapper.OrganizationMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'productDeptMapper' and 'org.springblade.modules.system.mapper.ProductDeptMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.701  WARN 27756 --- [on(3)-127.0.0.1] o.m.s.mapper.ClassPathMapperScanner      : Skipping MapperFactoryBean with name 'productGroupMapper' and 'org.springblade.modules.system.mapper.ProductGroupMapper' mapperInterface. Bean already defined with the same name!

2023-12-13 11:25:38.929  INFO 27756 --- [on(3)-127.0.0.1] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

2023-12-13 11:25:38.939  INFO 27756 --- [on(3)-127.0.0.1] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

13-Dec-2023 11:25:40.897 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.modeler.Registry.disableRegistry 无法禁用MBean注册表,因为它已初始化

13-Dec-2023 11:25:40.919 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"]

13-Dec-2023 11:25:40.919 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardService.startInternal 正在启动服务[Tomcat]

13-Dec-2023 11:25:40.919 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardEngine.startInternal 正在启动 Servlet 引擎:[Apache Tomcat/9.0.41]

13-Dec-2023 11:25:41.065 严重 [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:916)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)

at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)

at java.util.concurrent.FutureTask.run(FutureTask.java)

at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)

at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)

at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.startup.Tomcat.start(Tomcat.java:486)

at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:106)

at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:87)

at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:440)

at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:193)

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:545)

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)

at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152)

at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132)

at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92)

at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5166)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)

at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1727)

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:288)

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:459)

回答
  • 消灭零回复
提交回复