Getting below error message while configuring db details in hibernate.cfg.xml file. Sensing a mistake in jdbc url, But not able to find the actual cause.
Caused by: com.mysql.cj.exceptions.WrongArgumentException: No timezone mapping entry for 'UTC;allowPublicKeyRetrieval=true;useLegacyDatetimeCode=false' at
snippet of hibernate.cfg.xml file
<!-- JDBC Database connection settings -->
<property name="connection.url">jdbc:mysql://localhost:3306/hb_student_tracker?useSSL=false&serverTimezone=UTC;allowPublicKeyRetrieval=true</property>