【Error】RequestMapping导致的500: Invocation of init method failed; nested exception is java.lang.
RequestMappingannotation的值设置错误,导致tomcat500。解决办法:@RequestMapping(value="/r1",method=RequestMethod.GET)@RequestMapping(path="/r2",method=RequestMethod.GET)可以用value或者path,不能用name错误日志:类型异常报告消息Servlet[spri