问题描述 提示:这里描述项目中遇到的问题: springMVC中利用@RequestMapping注解跳转首页时出现500问题 原因分析: 发现原因是缺少context的声明 解决方案: 补上http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd即可 结果