關於Tomcat出現java.lang.IllegalStateException: Error starting child.....異常的解決方法

在這裏插入圖片描述
在這裏插入圖片描述

最後經檢查爲@WebServlet註解路徑寫錯所致使,若是使用web.xml配置,也要檢查路徑web