javax.servlet.http.HttpServlet was not found:
Recently, I found this javax.servlet.http.HttpServlet was not found error problem. After searching online, I found it. It may help friends in need.
1. The error we encountered is displayed as follows:
2. We right-click the folder with the error prompt, as follows:
3. We click "Configure build path" as follows:
4. Let’s click “Add Library” again, as follows:
5. We select the options marked in the above picture and click Next, as follows:
6. Let’s click “Finish” again, as follows:
7. We click "Normal" again to complete the settings. This way my error will disappear, as follows:
Thank you for reading, I hope it can help you. Thank you for your support for this site!