我的springboot应用程序tomcat启动非常慢

fgw7neuy  于 2021-06-26  发布在  Java
关注(0)|答案(0)|浏览(405)

这是此图片中的启动日志

21:20:45,691 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@28c97a5 - Registering current configuration as safe fallback point

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::       (v2.1.12.RELEASE)

2021-01-06 21:20:46,346 [main] INFO  com.pingan.smartcity.scw.whapply.WhApplyApplication - Starting WhApplyApplication v1.0-SNAPSHOT on izxs801ql7o8q7dbxyv64jz with PID 11576 (/opt/data/app/h5/whapply-xm-1.0-SNAPSHOT.jar started by root in /opt/data/app/h5)
2021-01-06 21:20:46,349 [main] DEBUG com.pingan.smartcity.scw.whapply.WhApplyApplication - Running with Spring Boot v2.1.12.RELEASE, Spring v5.1.13.RELEASE
2021-01-06 21:20:46,349 [main] INFO  com.pingan.smartcity.scw.whapply.WhApplyApplication - The following profiles are active: prod
2021-01-06 21:20:47,511 [main] WARN  org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.pingan.smartcity.scw.whapply]' package. Please check your configuration.
2021-01-06 21:20:47,550 [main] INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode!
2021-01-06 21:20:47,552 [main] INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-01-06 21:20:47,596 [main] INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 30ms. Found 0 Redis repository interfaces.
2021-01-06 21:20:48,110 [main] INFO  o.s.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f5a22d6c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-01-06 21:36:15,587 [main] INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8899 (http)
2021-01-06 21:36:15,608 [main] INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8899"]
2021-01-06 21:36:15,622 [main] INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
2021-01-06 21:36:15,622 [main] INFO  org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.30]
2021-01-06 21:36:15,710 [main] INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2021-01-06 21:36:15,710 [main] INFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 929305 ms

如上图所示,启动springboot应用程序需要10分钟,这非常不正常,问题出在哪里

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题