message丶小和尚 2024-08-06 15:51 采纳率: 0%
浏览 19
已结题

SpringBoot项目启动报错

升级SpringBoot由2.1.5至3.3.0,同步升级Mybatis Plus由2.3至3.5.3.2。项目可正正常打包。启动报错,报错信息如下:

img

Connected to the target VM, address: '127.0.0.1:50857', transport: 'socket'
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
ERROR StatusConsoleListener Error processing element appender ([configuration: null]): CLASS_NOT_FOUND
ERROR StatusConsoleListener Unknown object "root" of type org.apache.logging.log4j.core.config.LoggerConfig is ignored: try nesting it inside one of: ["Appenders", "Loggers", "Properties", "Scripts", "CustomLevels"].
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.3.0)

8月 06, 2024 3:44:20 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
8月 06, 2024 3:44:20 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Tomcat]
8月 06, 2024 3:44:20 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet engine: [Apache Tomcat/10.1.24]
8月 06, 2024 3:44:21 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring embedded WebApplicationContext
8月 06, 2024 3:44:22 下午 org.apache.tomcat.util.descriptor.web.SecurityConstraint findUncoveredHttpMethods
严重: For security constraints with URL pattern [/*] only the HTTP methods [TRACE HEAD DELETE SEARCH PROPFIND COPY OPTIONS PUT] are covered. All other methods are uncovered.
8月 06, 2024 3:44:23 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service [Tomcat]
Disconnected from the target VM, address: '127.0.0.1:50857', transport: 'socket'

Process finished with exit code 1


  • 写回答

1条回答 默认 最新

  • 路漫漫,其修远兮 2024-08-06 16:48
    关注

    降低一下springboot版本试试

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 8月8日
  • 创建了问题 8月6日