引用@webServlet时出现WebServlet cannot be resolved to a type
新导入的项目中,已经配置好tomcat,但是引用出现了@WebServlet cannot be resolved to a type这个错误 是因为tomcat没有生成路径选中项目–>右键–>选中Build Path–>选中configure Build Path–>选中Add Library–>选中Server Runtime–>点击next,选中tomcat–>选中finish–>最后选择Apply and close...
复制链接