Downgrade cargo and change jetty to tomcat

This commit is contained in:
Thai Nguyen 2016-07-25 15:52:54 +07:00
parent 864839a841
commit 9da4eba141
2 changed files with 3 additions and 3 deletions

View File

@ -41,10 +41,10 @@
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.5.0</version>
<version>1.4.19</version>
<configuration>
<container>
<containerId>jetty9x</containerId>
<containerId>tomcat8x</containerId>
<type>embedded</type>
</container>
<configuration>

View File

@ -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/*");
}
}