关于 Error creating bean with name 'documentationPluginsBootstrapper' defined in URL的理解

Error creating bean with name ‘documentationPluginsBootstrapper’ defined in URL [jar:file:/D:/software/m2/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘webMvcRequestHandlerProvider’ defined in URL [jar:file:/D:/software/m2/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is 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 ‘elasticsearchController’ method
public com.qianfeng.provider.common.vo.ResultVo com.qianfeng.elasticsearch.controller.ElasticsearchController.deleteBatch(java.lang.String,java.lang.String,java.util.List)
最主要的错误就看最后一句话
在这里插入图片描述
Ambiguous mapping 模糊不清的映射 说明什么 ?说明映射路径重复
关于 Error creating bean with name 'documentationPluginsBootstrapper' defined in URL的理解_第1张图片
原来是我的这两个接口路径写重复了
成功了没有? 大声告诉我

你可能感兴趣的:(微服务)