Fixed dependencies and configured cxf-servlet.