SpringMvc配置无误 报错404 1.idea选择tomcat配置 edit Configurations 2.图片位置 选择Deployment 在选择底下的Application context 删除为空 在运行项目