Error message:
Page:
Back end:
java.lang.reflect.InaccessibleObjectException: Unable to make protected java.net.http.HttpRequest() accessible: module java.net.http does not "opens java.net.http" to unnamed module @621f89b8
Solution:
Change the parameters passed in the controller: HttpRequest ——》 HttpServletRequest