From 9da4eba141e45858d8702b870334b5862bd231a7 Mon Sep 17 00:00:00 2001 From: Thai Nguyen Date: Mon, 25 Jul 2016 15:52:54 +0700 Subject: [PATCH] Downgrade cargo and change jetty to tomcat --- apache-cxf/cxf-spring/pom.xml | 4 ++-- .../src/main/java/com/baeldung/cxf/spring/AppInitializer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apache-cxf/cxf-spring/pom.xml b/apache-cxf/cxf-spring/pom.xml index aa72edb739..f3f8e916b5 100644 --- a/apache-cxf/cxf-spring/pom.xml +++ b/apache-cxf/cxf-spring/pom.xml @@ -41,10 +41,10 @@ org.codehaus.cargo cargo-maven2-plugin - 1.5.0 + 1.4.19 - jetty9x + tomcat8x embedded diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java index 036bf66a52..a4faa0f287 100644 --- a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java @@ -16,6 +16,6 @@ public class AppInitializer implements WebApplicationInitializer { container.addListener(new ContextLoaderListener(context)); ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet()); - dispatcher.addMapping("/services"); + dispatcher.addMapping("/services/*"); } } \ No newline at end of file