The problem is that the stack trace is written to the standard error stream, whereas your line is written to the standard output stream. Replace it by
e.printStackTrace();
System.err.println("---------------------------------");
or to
e.printStackTrace(System.out);
System.out.println("---------------------------------");
In an enterprise application even more than in a client application, you should not print to the standard streams anyway. Use a real logging framework like slf4j, which will allow you to choose levels of logging, destinations, etc.