右击项目,选择Build Path->configure build path->Libraries->Add External JARs,找到你计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",添加点击“确定”
Eclipse出现The import javax.servlet cannot be resolved 的解决方法
猜你喜欢
转载自blog.csdn.net/Flora_SM/article/details/102609532
今日推荐
周排行