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
In my case, migrating a Spring 3.1 app up to 3.2.7, my solution was similar to Matthias's but a bit different -- thus why I'm documenting it here:
In my POM I found this dependency and changed it from 6.0 to 7.0:
javax
javaee-web-api
7.0
provided
Then later in the POM I upgraded this plugin from 6.0 to 7.0:
org.apache.maven.plugins
maven-dependency-plugin
2.1
...
...
javax
javaee-endorsed-api
7.0
jar