Request return prompt: 500 Internal Server Error

Problems encountered when the project went online today:
return 500, prompt: Internal Server Error

Problem Cause: zone configuration error when a database connection:
Configure the time zone:
jdbcUrl: jdbc: MySQL: The Avision: 3306 / xxx useUnicode = to true & characterEncoding = UTF-8 & autoReconnect = xx & zeroDateTimeBehavior = xxx &? ServerTimezone = GMT % 2B8
real Database time zone: SCT
Insert picture description here

Solution: Delete the time zone configuration and use the default time zone
jdbcUrl: jdbc:mysql://xxx.xxx.xxx.xxx:3306/xxx?useUnicode=true&characterEncoding=utf-8&autoReconnect=xx&zeroDateTimeBehavior=xxx

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_42258975/article/details/109535149