Table is created when I\'m running the spring project but when I get the values from postman It says 500 internal server error