} catch (Exception e) {
log.error("could not start up embedded jetty server", e);
}
// make sure exception mappers are loaded and registered
ExceptionMapperServiceImpl mapperService = CDIContext.getInstance(ExceptionMapperServiceImpl.class);
try {
mapperService.register(((HttpServletDispatcher) restEasyFilter.getServlet()).getDispatcher().getProviderFactory());
} catch (ServletException e) {
log.warn("could not register exception mappers");
}
// make sure interceptors are loaded and registered