I created a Servlet (extending from HttpServlet) and annotated as per 3.0 specs with
@WebServlet(name=\"DelegateServiceExporter\", urlPatterns={\"/remoting/Deleg
With Spring Boot, you should use the ServletRegistrationBean
object instead of the @WebServlet
annotation if you want to register a Servlet and provide the URL pattern.
Adding this bean to your @Configuration
class should do the trick :
@Bean
public ServletRegistrationBean delegateServiceExporterServlet() {
return new ServletRegistrationBean(new DelegateServiceExporter(), "/remoting/DelegateService");
}