On one server, when I run:
mysql> select now(); +---------------------+ | now() | +---------------------+ | 2009-05-30 16:54:29 | +---------
For anyone still having this issue:
value="jdbc:mysql://localhost:3306/dbname?serverTimezone=UTC"
Worked for me. Just append ?serverTimezone=UTC at the end.
?serverTimezone=UTC