I have a web project that has a \\META-INF\\services\\javax.servlet.ServletContainerInitializer
file with its content pointing to the fully qualified name of a
For tomcat to load the META-INF directory , it has to be in classes folder . If you are using maven project , just put the META-INF directory inside src/main/resources directory .. on mvn package the same will be copied to classes directory .. No need of separerate jar .. if jar is prefered you can use HandlesTypes annotation ..