把<servlet></servlet>和<servlet-mapping></servlet-mapping>写在<welcome-file-list>的后面就会报错,写在前面就不会 转载于:https://www.cnblogs.com/CoderCGY/p/9317479.html