Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerMapping’ defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map ‘hospitalSetController’ method
或者
Caused by: java.lang.IllegalStateException: Ambiguous mapping. Cannot map ‘hospitalSetController’ method
都为一个class中两个相同方法名字