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

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 delphi indy cookie 有效期
  • ¥15 labelme打不开怎么办
  • ¥35 按照图片上的两个任务要求,用keil5写出运行代码,并在proteus上仿真成功,🙏
  • ¥15 免费的电脑视频剪辑类软件如何盈利
  • ¥30 MPI读入tif文件并将文件路径分配给各进程时遇到问题
  • ¥15 pycharm中导入模块出错
  • ¥20 Ros2 moveit2 Windows环境配置,有偿,价格可商议。
  • ¥15 有关“完美的代价”问题的代码漏洞
  • ¥15 请帮我看一下这个简易化学配平器的逻辑有什么问题吗?
  • ¥15 暴力法无法解出,可能要使用dp和数学知识