首页 新闻 搜索 专区 学院

SpringBoot启动总是会在日志最后卡住,每次项目启动要等很长时间。

0
悬赏园豆:100 [待解决问题]

2020-09-24 15:34:50.322 INFO [-,,,] 4604 --- [ restartedMain] c.h.track.manage.TrackManageApplication : No active profile set, falling back to default profiles: default
2020-09-24 15:34:50.362 INFO [-,,,] 4604 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4235edb5: startup date [Thu Sep 24 15:34:50 CST 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@40a70a23
2020-09-24 15:34:59.488 INFO [-,,,] 4604 --- [ restartedMain] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'asyncRestTemplate' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=com.huodull.infrastructure.web.support.config.RestTemplateConfig; factoryMethodName=asyncRestTemplate; initMethodName=null; destroyMethodName=(inferred); defined in com.huodull.infrastructure.web.support.config.RestTemplateConfig] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=trackManageApplication; factoryMethodName=asyncRestTemplate; initMethodName=null; destroyMethodName=(inferred); defined in com.huodull.track.manage.TrackManageApplication]
2020-09-24 15:35:01.028 INFO [-,,,] 4604 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2020-09-24 15:35:01.710 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningDetailDao.
2020-09-24 15:35:01.713 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningLogDao.
2020-09-24 15:35:01.714 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsDomesticDao.
2020-09-24 15:35:01.716 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningConfDao.
2020-09-24 15:35:01.719 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsLogDao.
2020-09-24 15:35:01.720 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningOrderDao.
2020-09-24 15:35:01.722 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsChannelDao.
2020-09-24 15:35:01.724 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningFrightDao.
2020-09-24 15:35:01.727 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningItemDao.
2020-09-24 15:35:01.728 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingBakDao.
2020-09-24 15:35:01.734 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.InternationalRegionDao.
2020-09-24 15:35:01.736 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingDao.
2020-09-24 15:35:01.738 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningConfDao.
2020-09-24 15:35:01.741 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsSystemDao.
2020-09-24 15:35:01.743 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.DockingSupplierDao.
2020-09-24 15:35:01.745 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsManagerDao.
2020-09-24 15:35:01.747 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsEmailDao.
2020-09-24 15:35:01.748 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningLogDao.
2020-09-24 15:35:01.751 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsNoDao.
2020-09-24 15:35:01.753 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingNewDao.
2020-09-24 15:35:01.755 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data JPA - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTransferDao.
2020-09-24 15:35:02.312 INFO [-,,,] 4604 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2020-09-24 15:35:02.918 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.OdOrderTmpDao.
2020-09-24 15:35:02.918 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.OdTrackingNoRecordDao.
2020-09-24 15:35:05.053 INFO [-,,,] 4604 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2020-09-24 15:35:05.658 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningDetailDao.
2020-09-24 15:35:05.659 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningLogDao.
2020-09-24 15:35:05.659 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsDomesticDao.
2020-09-24 15:35:05.660 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningConfDao.
2020-09-24 15:35:05.660 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsLogDao.
2020-09-24 15:35:05.660 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningOrderDao.
2020-09-24 15:35:05.660 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsChannelDao.
2020-09-24 15:35:05.661 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.CapacityWarningFrightDao.
2020-09-24 15:35:05.661 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningItemDao.
2020-09-24 15:35:05.661 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingBakDao.
2020-09-24 15:35:05.661 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.OdOrderTmpDao.
2020-09-24 15:35:05.662 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.InternationalRegionDao.
2020-09-24 15:35:05.664 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingDao.
2020-09-24 15:35:05.664 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningConfDao.
2020-09-24 15:35:05.665 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.OdTrackingNoRecordDao.
2020-09-24 15:35:05.665 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsSystemDao.
2020-09-24 15:35:05.666 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.DockingSupplierDao.
2020-09-24 15:35:05.666 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsManagerDao.
2020-09-24 15:35:05.666 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsEmailDao.
2020-09-24 15:35:05.667 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsWarningLogDao.
2020-09-24 15:35:05.667 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsNoDao.
2020-09-24 15:35:05.667 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTrackingNewDao.
2020-09-24 15:35:05.667 INFO [-,,,] 4604 --- [ restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.huodull.track.manage.repository.LogisticsTransferDao.
2020-09-24 15:35:06.439 WARN [-,,,] 4604 --- [ restartedMain] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'refreshScope' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2020-09-24 15:35:06.725 INFO [-,,,] 4604 --- [ restartedMain] o.s.cloud.context.scope.GenericScope : BeanFactory id=21bcb9ed-fa1d-3ef3-af8e-7fa2fb03c463
2020-09-24 15:35:06.821 INFO [-,,,] 4604 --- [ restartedMain] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-09-24 15:35:06.897 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$DefaultAsyncConfigurerSupport' of type [class org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$DefaultAsyncConfigurerSupport$$EnhancerBySpringCGLIB$$ffd6b8a9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:07.181 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$c2951ae6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:07.797 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration' of type [class org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration$$EnhancerBySpringCGLIB$$f4c1c127] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:07.870 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$deaf1de3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:07.961 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration' of type [class org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration$$EnhancerBySpringCGLIB$$226f3ac] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:08.031 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration' of type [class org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$$EnhancerBySpringCGLIB$$f88892eb] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:08.094 INFO [-,,,] 4604 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'traceFeignObjectWrapper' of type [class org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignObjectWrapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-09-24 15:35:10.035 INFO [-,,,] 4604 --- [ restartedMain] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9098 (http)
2020-09-24 15:35:10.049 INFO [-,,,] 4604 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service Tomcat
2020-09-24 15:35:10.050 INFO [-,,,] 4604 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.6
2020-09-24 15:35:10.262 INFO [-,,,] 4604 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-09-24 15:35:10.263 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 19901 ms
2020-09-24 15:35:13.334 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2020-09-24 15:35:13.335 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/
]
2020-09-24 15:35:13.335 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'traceFilter' to: [/]
2020-09-24 15:35:13.335 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/
]
2020-09-24 15:35:13.336 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/]
2020-09-24 15:35:13.336 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/
]
2020-09-24 15:35:13.336 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2020-09-24 15:35:13.336 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/
]
2020-09-24 15:35:13.336 INFO [-,,,] 4604 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2020-09-24 15:35:15.016 INFO [-,,,] 4604 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2020-09-24 15:35:15.029 INFO [-,,,] 4604 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2020-09-24 15:35:15.189 INFO [-,,,] 4604 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate Core {4.3.11.Final}
2020-09-24 15:35:15.195 INFO [-,,,] 4604 --- [ restartedMain] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2020-09-24 15:35:15.197 INFO [-,,,] 4604 --- [ restartedMain] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2020-09-24 15:35:16.104 INFO [-,,,] 4604 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {4.0.5.Final}

七号病房的主页 七号病房 | 初学一级 | 园豆:106
提问于:2020-09-24 15:43
< >
分享
所有回答(3)
0

你搜下这个 Could not safely identify store assignment for repository candidate interface 有很多解答的,
最常见的是在使用spring data jpa的同时引入了redis或es的starter
配置里增加这个
repositories:
enabled: false

附个搜到的链接:https://blog.csdn.net/qq_36599564/article/details/104312492

WMG-Eight | 园豆:424 (菜鸟二级) | 2020-09-25 09:23

感谢回答,这边已经尝试了,修改配置后,只是日志没有报出来,到我上面问题的结尾处仍然会卡住。

支持(0) 反对(0) 七号病房 | 园豆:106 (初学一级) | 2020-09-25 10:43
0


你这个问题应该是这个,我没有碰到过,只能给你提供一下其他网友的答案,和你很像,你可以去看看这个链接:
https://bbs.csdn.net/topics/392085314

思无 | 园豆:202 (菜鸟二级) | 2020-09-27 09:49
0

已查出问题,数据库问题,更改另一个数据库就好了。

七号病房 | 园豆:106 (初学一级) | 2020-10-08 11:02
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册