Javaweb程序:eclipse新建一個servlet文件報錯

我們只需要配置一個library ,右鍵單擊選擇build path >> configure build path >> 選擇add library >> 選擇 Servlet Runtime next 選擇tomcat9,按自己電腦安裝的tomcat來的,有的是8 ,有的是7,選中後finish即可
相關文章
相關標籤/搜索