title: The import javax.servlet.annotation cannot be resolved
body: <p>Im trying to create servlet for my project but encountered <code>The import javax.servlet.annotation cannot be resolved</code>. I've already added <code>javax.servlet</code> and <code>servlet-api.jar</code> from tomcat. Please refer the image below.
  <img src="https://i.stack.imgur.com/Z2Njo.png" alt="Servlet"></p>