In Servlet 3.0 containers and later, we will need to include the resteasy-servlet-initializer dependency, which includes an implementation of the ServletContainerInitializer interface for containers to use in initializing the RESTEasy application. It will automatically scan the application classes for the resources and providers, and programmatic registration of a servlet.