ServletRegistrationBean doesn't works for the multiple URL mapping paths
问题 I was developing code looking at https://howtodoinjava.com/spring-boot/spring-boot-soap-webservice-example/, In the below bean I want to allow request to be executed for /* and /service/* , so I changed to @Bean public ServletRegistrationBean messageDispatcherServlet(ApplicationContext applicationContext){ MessageDispatcherServlet servlet = new MessageDispatcherServlet(); servlet.setApplicationContext(applicationContext); servlet.setTransformWsdlLocations(true); return new