cannot find symbol @webservlet code example Example: tomcat cannot find symbol @WebServlet import javax.servlet.annotation.WebServlet