Spring Boot项目:
启动项目时,突然启动项目就一直不动,起不来项目,找问题和解决办法找了两个小时,最后突然看到一个博客说把断点都停掉再启动项目,我试了一下,还是不行,我又看了一遍,发现了我在Mapper.java文件中打了一个断点,一放开此断点就运行成功了,此坑,如此之坑
Spring Boot 项目启动时运行到:starting to reset expired jobs 就停止启动(卡住了一样)
日志:
11:29:26.651 logback [restartedMain] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
11:29:26.845 logback [restartedMain] INFO o.a.s.b.AbstractProcessEngineConfiguration - No process definitions were found for autodeployment
11:29:27.778 logback [restartedMain] INFO o.a.e.c.DefaultActiviti5CompatibilityHandlerFactory - Activiti 5 compatibility handler implementation not found or error during instantiation : org.activiti.compatibility.DefaultActiviti5CompatibilityHandler. Activiti 5 backwards compatibility disabled.
11:29:27.862 logback [restartedMain] INFO o.a.engine.impl.ProcessEngineImpl - ProcessEngine default created
11:29:27.864 logback [restartedMain] INFO o.a.e.i.a.DefaultAsyncJobExecutor - Starting up the default async job executor [org.activiti.spring.SpringAsyncExecutor].
11:29:27.865 logback [Thread-41] INFO o.a.e.i.a.AcquireAsyncJobsDueRunnable - {} starting to acquire async jobs due
11:29:27.865 logback [Thread-42] INFO o.a.e.i.a.AcquireTimerJobsRunnable - {} starting to acquire async jobs due
11:29:27.865 logback [Thread-43] INFO o.a.e.i.a.ResetExpiredJobsRunnable - {} starting to reset expired jobs
解决办法:
把选中的都取消
再启动项目