前言
- ruoyi 4.6.0
现象
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.13.RELEASE)
18:05:26.271 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.0.22.Final
18:05:26.296 [main] INFO c._.Application - [logStarting,55] - Starting Application on tencent-test-02 with PID 23698 (/opt/app/ruoyi.jar started by root in /opt/app)
18:05:26.297 [main] DEBUG c._.ApiApplication - [logStarting,56] - Running with Spring Boot v2.2.13.RELEASE, Spring v5.2.12.RELEASE
18:05:26.297 [main] INFO c._.ApiApplication - [logStartupProfileInfo,655] - The following profiles are active: druid,config
18:05:28.025 [main] INFO c._.EhCacheManagerConfig$$EnhancerBySpringCGLIB$$c37862ba - [getEhCacheManager,33] - ====初始化缓存:ruoyi====
18:05:28.278 [main] INFO o.a.s.c.e.EhCacheManager - [getCache,158] - Cache with name 'sys-authCache' does not yet exist. Creating now.
18:05:28.279 [main] INFO o.a.s.c.e.EhCacheManager - [getCache,165] - Added EhCache named [sys-authCache]
18:05:29.667 [main] INFO o.a.c.h.Http11NioProtocol - [log,173] - Initializing ProtocolHandler ["http-nio-8031"]
18:05:29.668 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
18:05:29.668 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/9.0.41]
18:05:29.720 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
18:05:29.845 [main] INFO o.a.s.c.e.EhCacheManager - [getCache,169] - Using existing EHCache named [loginRecordCache]
原因
数据库连不上了。多等一会儿,就会出现jdb连接错误。
jdbc连接错误等待的时间较长。