The new web project visits servlet for 500 classnotfount for the first time and 404 for the second.

I have created a new web project to practice. After web.xml has written the configuration, visit servlet.
500 errors were reported the first time you visited servlet, and 404 errors were reported the second time.
first time:

clipboard.png
clipboard.png
:

clipboard.png

web.xml:

clipboard.png
ask the great god what this is all about.

Mar.07,2021

first of all: 500-internal server error; 404-could not find resources; the first visit may directly cause your project to collapse, so the second visit is 404; furthermore, is your training project framework integration or servlet+jsp? I feel like there's something wrong with your web.xml. That's all I know so far. I hope I can help you.

Menu