创建web项目之后,再创建servlet类时报红 缺少servlet、tomcat、jsp的jar包。 1.file->project structure->SDKS-> 2.点击“+”号,找到tomcat的lib路径