Skip to content

Commit 9da4eba

Browse files
committed
Downgrade cargo and change jetty to tomcat
1 parent 864839a commit 9da4eba

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
@@ -41,10 +41,10 @@
4141
<plugin>
4242
<groupId>org.codehaus.cargo</groupId>
4343
<artifactId>cargo-maven2-plugin</artifactId>
44-
<version>1.5.0</version>
44+
<version>1.4.19</version>
4545
<configuration>
4646
<container>
47-
<containerId>jetty9x</containerId>
47+
<containerId>tomcat8x</containerId>
4848
<type>embedded</type>
4949
</container>
5050
<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)