refactoring Spring to make jetty:run work again