r/SpringBoot • • Sep 13 '26

Question Why This error Coming?

Post image
13 Upvotes

12 comments sorted by

View all comments

2

u/nitrogifter Sep 13 '26

In your application.properties configure to use UTC timezones. You're using a postgres db and this is a know issue.

spring.datasource.url=jdbc:postgresql://localhost:5432/your_database?serverTimezone=UTC

Note the server serverTimezone value at the end.