求助!!!!!!!关于使用feign调用服务
springboot吧
全部回复
仅看楼主
level 2
下一秒🍀 楼主
使用feign作为消费者调用服务时项目启动报错如下。。
2019年02月15日 06点02分 1
level 2
下一秒🍀 楼主
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.NullPointerException
2019年02月15日 06点02分 4
level 2
下一秒🍀 楼主
2019年02月15日 06点02分 6
level 2
下一秒🍀 楼主
麻烦知道的帮下忙,不胜感激
2019年02月15日 06点02分 7
1