springboot启动报错Error creating bean with name requestMappingHandlerMapping defined in class path resou
springboot启动报错Error creating bean with name requestMappingHandlerMapping defined in class path resou_初晨 、的博客-CSDN博客。
·
报错信息:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [com/huashang/config/WebMvcConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'projectController' method
com.huashang.controller.ProjectController#ratify(int, Ratify)
to {PUT /projects/{id}/sign}: There is already 'projectController' bean method
看这篇的:
原因如下:
更多推荐
所有评论(0)