Add stacktrace to error page
Remove deprecated junit package usage