Spring Boot does not honor @WebServlet
问题 I created a Servlet (extending from HttpServlet) and annotated as per 3.0 specs with @WebServlet(name="DelegateServiceExporter", urlPatterns={"/remoting/DelegateService"}) My @Configuration class in Spring Boot scans this servlet's package. However, it does not log that it has deployed this servlet in the embedded Tomcat 8.0.15 container when my Spring Boot application starts up. So, I added @Component to my servlet as well. Now, Spring Boot registers the servlet (proving to me that the scan