The import javax.servlet.annotation cannot be resolved Mirthbees 12 years ago Problem: Solution: Download the servlet-api-3.0 and put this in lib of web-inf. Note: For javax.servlet import servlet-api 2.4 is enough, only for javax.servlet.annotation we need servlet-api-3.0. Share this:Print