dispatcherServlet] in context with path [] threw exception at org.apache.catalina.connector.ResponseFacade.sendError:116)
at javax.servlet.http.HttpServletResponseWrapper.send
findRoomsByHospital( @Param("hospital") Long hospital);java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:472) ~[tomcat-embed-core-9.0.24.