Javaweb程序:eclipse新建一个servlet文件报错

我们只需要配置一个library ,右键单击选择build path >> configure build path >> 选择add library >> 选择 Servlet Runtime next 选择tomcat9,按自己电脑安装的tomcat来的,有的是8 ,有的是7,选中后finish即可
相关文章
相关标签/搜索