右击项目,选择Build Path->configure build path
Libraries->Add External JARs,点击classpath
找到计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",apply and close
版权声明:本文为Mercuriooo原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
右击项目,选择Build Path->configure build path
Libraries->Add External JARs,点击classpath
找到计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",apply and close