I was trying to implement a login filter in my web app with jsf 2, following this guide:
https://stackoverflow.com/tags/servlet-filters/info
after I compiled
maybe doesnt exists javaee-api-7.0.jar. download this jar and on your project right clik