項目右擊 → Build Path → 右側 Add Library → server runtime → Apache Tomcat → Finish → Apply ...
♦ 未在 Java構建路徑中 找到父類 "javax.servlet.http.HttpServlet"
♦ 解決辦法:
項目右擊 → Build Path → 右側 Add Library → server runtime → Apache Tomcat
→ Finish → Apply
項目右擊 → Build Path → 右側 Add Library → server runtime → Apache Tomcat → Finish → Apply ...
♦ 未在 Java構建路徑中 找到父類 "javax.servlet.http.HttpServlet"
♦ 解決辦法:
項目右擊 → Build Path → 右側 Add Library → server runtime → Apache Tomcat
→ Finish → Apply