这里写自定义目录标题
Error creating bean with name ‘org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping’
Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map ‘carController’ method
创建名为“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”的bean时出错。
找了好长时间才发现是控制层的@RequestMapping注释中的路径重名了,只要修改一下路径名就可以了。