推送到CloudFoundry期间,没有合适的ServiceConnectorCreator发现错误

时间:2019-03-25 12:08:09

标签: java spring-cloud pivotal-cloud-foundry

错误日志:

  

通过方法表示的不满意依赖性   'mysqlEntityManagerFactory'参数0;嵌套异常为   org.springframework.beans.factory.UnsatisfiedDependencyException:   创建名称为bean的错误   'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration':   通过构造函数参数0表示的不满足的依赖关系;   嵌套异常为   org.springframework.beans.factory.BeanCreationException:错误   在类路径中创建名称为“ mysqlDataSource”的bean   资源   [com / multipledbexamplegroup / multipledbexampleartifact / config / BookingDBConfig.class]:   通过工厂方法实例化Bean失败;嵌套异常为   org.springframework.beans.BeanInstantiationException:失败   实例化[javax.sql.DataSource]:工厂方法'mysqlDataSource'   抛出异常;嵌套异常为   org.springframework.cloud.CloudException:不适合   找到ServiceConnectorCreator:服务id = aurora服务,服务信息   type = org.springframework.cloud.service.BaseServiceInfo,连接器   类型=接口javax.sql.DataSource 2019-03-25T17:32:50.46 + 0530   在[APP / PROC / WEB / 0]处输出   org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)   〜[spring-beans-4.3.22.RELEASE.jar!/:4.3.22.RELEASE]
  2019-03-25T17:32:50.46 + 0530 [APP / PROC / WEB / 0]在   org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)   〜[spring-beans-4.3.22.RELEASE.jar!/:4.3.22.RELEASE]
  2019-03-25T17:32:50.46 + 0530 [APP / PROC / WEB / 0]在   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1178)   〜[spring-beans-4.3.22.RELEASE.jar!/:4.3.22.RELEASE]
  2019-03-25T17:32:50.46 + 0530 [APP / PROC / WEB / 0]在   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:107

0 个答案:

没有答案