Eclipse Error: javax.servlet.annotation.WebFilter [Solved]

Eclipse Error:
The import javax.servlet.annotation cannot be resolved
Multiple markers at this line
– WebFilter cannot be resolved to a type
– The attribute value is undefined for the annotation type

Solution: Right click on the project – build path- configure build path- Add Library



Read More: