Is there something special I have to do to enable Jar scanning for @WebFilter
in Tomcat7 or TomEE 1.6? I have an empty 3.0 spec web.xml
, a beans.xml
in web-inf, and my @WebFilter
is in a CDI compliant JAR (not that the servlet spec would really care I guess).
The filter works if I enable it manually in the web.xml
. If I copy/paste the class into the WAR project, Tomcat/Tomee picks up the @WebFilter
annotated class.
Thanks!