右击项目,选择Build Path->configure build path
Libraries->Add External JARs,点击classpath
找到计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",apply and close
The import javax.servlet cannot be resolved 的解决方法
最新推荐文章于 2024-09-08 11:32:54 发布
右击项目,选择Build Path->configure build path
Libraries->Add External JARs,点击classpath
找到计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",apply and close