Downgrade cargo and change jetty to tomcat
This commit is contained in:
parent
864839a841
commit
9da4eba141
|
@ -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>
|
||||
|
|
|
@ -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/*");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue