The screenshots you provided have useful information starting from “Caused by”. Those indicate 1) That something else is already running on port 8080 and 2) that you are running out of shared memory and need to adjust the max_locks_per_transation. It can be useful to google for dhis2 and those messages, for example here is a previous discussion:
Perhaps you have have also not allocated enough memory for Java using the JAVA_OPTS setting.