Server Error : The server reported an internal error. Try to refresh the page or login and out of the application.

What Java version do you use?

i used 17 and 11 both but it was not happening

According to the official docs Camunda 7.16 supports Java up to version 15 - Supported Environments | docs.camunda.org