报错信息
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 'serviceController' method
public com.n.c.c.R c.n.i.a.m.b.c.ServiceController.auditFailAll()
java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'serviceController' method
public com.n.c.c.R c.n.i.a.m.b.controller.ServiceController.auditFailAll()
to {[/audit/auditAll]}: There is already 'serviceController' bean method
状态码:500
原因。。。。。。。映射重名
排错手段:检查映射吧。。。。mmp确实重复了,这个低级错误哦
声明:
博客中标注原创的文章,版权归本博客作者所有,若转载或者引用本文内容请注明来源及原作者,否则依法保留追究权
如果帮到你了点个赞呗【嘘~~~悄悄话:带上你的满腔热血去奔赴心中的山河】