茨木林 2022-04-03 15:41 采纳率: 83.3%
浏览 271
已结题

spring boot项目启动失败Application run failed

2022-04-03 15:39:59.331 INFO 19988 --- [ main] com.czl.ApiApplication : Starting ApiApplication using Java 1.8.0_321 on DESKTOP-8Q8ID11 with PID 19988 (D:\code\skyline\api\target\classes started by sheng in D:\code\skyline)

2022-04-03 15:39:59.334 INFO 19988 --- [ main] com.czl.ApiApplication : No active profile set, falling back to 1 default profile: "default"
2022-04-03 15:40:00.491 INFO 19988 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2022-04-03 15:40:00.500 INFO 19988 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-04-03 15:40:00.500 INFO 19988 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.58]
2022-04-03 15:40:00.574 INFO 19988 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-04-03 15:40:00.574 INFO 19988 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1195 ms
2022-04-03 15:40:00.643 INFO 19988 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource
2022-04-03 15:40:00.749 INFO 19988 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
2022-04-03 15:40:01.188 INFO 19988 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
2022-04-03 15:40:01.390 INFO 19988 --- [ main] org.quartz.impl.StdSchedulerFactory : Using default implementation for ThreadExecutor
2022-04-03 15:40:01.399 INFO 19988 --- [ main] org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-04-03 15:40:01.399 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : Quartz Scheduler v.2.3.2 created.
2022-04-03 15:40:01.400 INFO 19988 --- [ main] org.quartz.simpl.RAMJobStore : RAMJobStore initialized.
2022-04-03 15:40:01.401 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-04-03 15:40:01.401 INFO 19988 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
2022-04-03 15:40:01.401 INFO 19988 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler version: 2.3.2
2022-04-03 15:40:01.401 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@4f235e8e
2022-04-03 15:40:01.454 INFO 19988 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2022-04-03 15:40:01.455 INFO 19988 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
2022-04-03 15:40:01.470 INFO 19988 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
2022-04-03 15:40:01.474 WARN 19988 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
2022-04-03 15:40:01.474 INFO 19988 --- [ main] o.s.s.quartz.SchedulerFactoryBean : Shutting down Quartz Scheduler
2022-04-03 15:40:01.474 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler_$NON_CLUSTERED shutting down.
2022-04-03 15:40:01.475 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler
$NON_CLUSTERED paused.
2022-04-03 15:40:01.475 INFO 19988 --- [ main] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler
$_NON_CLUSTERED shutdown complete.
2022-04-03 15:40:01.476 INFO 19988 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closing ...
2022-04-03 15:40:01.477 INFO 19988 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2022-04-03 15:40:01.612 INFO 19988 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2022-04-03 15:40:01.622 INFO 19988 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-04-03 15:40:01.646 ERROR 19988 --- [ main] o.s.boot.SpringApplication : Application run failed

  • 写回答

2条回答 默认 最新

  • a1767028198 2022-04-03 15:54
    关注

    又是swagger,又是高版本的springboot,boot版本切换到2.6以下

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 4月11日
  • 已采纳回答 4月3日
  • 修改了问题 4月3日
  • 创建了问题 4月3日

悬赏问题

  • ¥15 在误装Windows server2019 后如何利用Windows.old恢复?
  • ¥20 代码实现状态连接包过滤防火墙的设计与实现
  • ¥15 vscode的红色箭头爆红和has no default export报错
  • ¥15 关于#sql#的问题:#情况描述 在用vs对项目进行调试时,出现找不到网络路径,然后查看SQL配置工具,发现SQL服务显示远程调用过程失败(相关搜索:防火墙)
  • ¥15 eNSP中基于默认路由及浮动路由的公司与分部互联和校园网综合项目
  • ¥15 主要进行描述泥浆在管路不同区段泥浆的密度不相同,泥浆的密度有高有低,此时管路的摩阻分布需要怎么计算,(标签-matlab)
  • ¥40 通过编制程序计算圆管内层流充分发展对流换热,参数如图5-4,以及公式5-16所示,要求用表5-6对程序计算准确性进行验证
  • ¥20 该学习哪个编程语言? AI会取代程序员吗?
  • ¥15 ensp如何拼通IP地址
  • ¥15 saber软件导入Ibis模型报错