项目启动报错Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name


方法名重名 修改下。。。。。。。。。。。。

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-01-20 16:36:32.533 [main] ERROR org.springframework.boot.SpringApplication:837 - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/D:/apache-maven-3.8.3-bin/apache-maven-3.8.3/Repository/io/springfox/springfox-spring-web/2.10.5/springfox-spring-web-2.10.5.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:/apache-maven-3.8.3-bin/apache-maven-3.8.3/Repository/io/springfox/springfox-spring-webmvc/2.10.5/springfox-spring-webmvc-2.10.5.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 2; 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 'cxDogMoonJihuaController' method
org.jeecg.modules.psdog.dog.controller.CxDogMoonJihuaController#xiaLaList(String, String)
to {GET /dog/cxDogMoonJihua/xiaLaList}: There is already 'cxDogMoonJihuaController' bean method

声明:雨墨博客-分享宝塔面板使用,VPS教程,域名教程以及互联网技巧的个人博客|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 项目启动报错Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name


空想会想出很多绝妙的主意,但却办不成任何事情。