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

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条回答 默认 最新

相关推荐 更多相似问题