I created a Servlet (extending from HttpServlet) and annotated as per 3.0 specs with
@WebServlet(name=\"DelegateServiceExporter\", urlPatterns={\"/remoting/Deleg
Add @ServletComponentScan in your bootstrap class.
@ServletComponentScan
such as
@SpringBootApplication @ServletComponentScan public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
This will enable spring boot to scan @WebServlet as well as @WebListener.
@WebServlet
@WebListener