3

SpringBoot创建bean错误

 3 years ago
source link: https://www.oschina.net/question/4546450_2322768
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

SpringBoot创建bean错误

OSC_TcxRCC 发布于 前天 13:08
阅读 100

 哪位大佬遇到了这个问题关电脑的时候都还好好的,第二天打开就这样了实在解决不了了,百度找遍了都不合适

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-06-04 22:02:05.600 ERROR 5716 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'purchaseController': Unsatisfied dependency expressed through field 'purchaseService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'purchaseService': Unsatisfied dependency expressed through field 'wareSkuService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'wareSkuService': Unsatisfied dependency expressed through field 'productFeignService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.wzw.gulishop.ware.feign.ProductFeignService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcResourceUrlProvider' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.resource.ResourceUrlProvider]: Factory method 'mvcResourceUrlProvider' threw exception; nested exception is java.lang.NoSuchFieldError: defaultInstance

up-1f9f5cb48deb1073963a88d99bb93e2046e.png


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK