Might be super trivial but worth a check prior to waste some time.
At my case the mysql service was down.
When you have a java app including JPA / Hibernate it is checking the database connection on startup. Just found out by looking into the looks where it had an entity manager error.