Skip to content

Commit 0c1aeb4

Browse files
author
Eugen
authored
Merge pull request eugenp#531 from nguyennamthai/cxf-spring
Downgrades cargo and changes jetty to tomcat for cxf-spring
2 parents 45f0774 + 9da4eba commit 0c1aeb4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apache-cxf/cxf-spring/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@
6666
<plugin>
6767
<groupId>org.codehaus.cargo</groupId>
6868
<artifactId>cargo-maven2-plugin</artifactId>
69-
<version>1.5.0</version>
69+
<version>1.4.19</version>
7070
<configuration>
7171
<container>
72-
<containerId>jetty9x</containerId>
72+
<containerId>tomcat8x</containerId>
7373
<type>embedded</type>
7474
</container>
7575
<configuration>

‎apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public void onStartup(ServletContext container) {
1616
container.addListener(new ContextLoaderListener(context));
1717

1818
ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet());
19-
dispatcher.addMapping("/services");
19+
dispatcher.addMapping("/services/*");
2020
}
2121
}

0 commit comments

Comments
 (0)