1819202122232425262728
@Override protected void init() { super.init(); try { queryRunnerProvider = new QueryRunnerProvider(servletContext); } catch (Exception e) { throw new RuntimeException("db init fail", e); } injector = Guice.createInjector(new MainModule());