如何debugapp
先查看異常名:NullPointerException工具
再看異常描述信息ServletException: servlet named [HelloServlet] and [HiServlet] are bothed mapped url [/aaa]url
上述異常形成緣由:caused by :XXXExceptionspa
使用debug調試工具debug
先打斷點調試
(快捷鍵)F5:進入當前行的方法中servlet
F6:執行當前行代碼,跳到下一行io
F7:從當前方法中跳出sed
F8:繼續運行項目,直到下一個斷點map