报错信息:
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
看这篇的:
原因如下: