这个总结很到位 第一点:Tomcat的配置 第二点:web.xml的配置 第三点:包未全部导入 查看以下链接解决以上问题 https://blog.csdn.net/coding_lin/article/details/81911965