SHARE
TWEET

Untitled

a guest Jun 18th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. micronaut:
  3.   application:
  4.     name: transfer-service
  5.  
  6. ---
  7. datasources:
  8.   default:
  9.     url: jdbc:postgresql://XXX.XXX.XXX.XXX:XXXX/t4dserver
  10.     driverClassName: org.postgresql.Driver
  11.     username: postgres
  12.     password: password
  13.   germany:
  14.     url: jdbc:postgresql://YYY.YYY.YYY.YYY:YYYY/t4dserver
  15.     driverClassName: org.postgresql.Driver
  16.     username: postgres
  17.     password: password
  18. jpa:
  19.   default:
  20.     properties:
  21.       hibernate:
  22.         hbm2ddl:
  23.           auto: none
  24.      
  25. ERROR io.micronaut.runtime.Micronaut - Error starting Micronaut server: Bean definition [org.hibernate.SessionFactory] could not be loaded: Error instantiating bean of type  [org.hibernate.boot.MetadataSources]
  26.  
  27. Message: Missing bean argument value: jpaConfiguration
  28. Path Taken: SessionFactory.hibernateSessionFactory([SessionFactoryBuilder sessionFactoryBuilder]) --> SessionFactoryBuilder.hibernateSessionFactoryBuilder([MetadataSources metadataSources],ValidatorFactory validatorFactory) --> MetadataSources.hibernateMetadataSources([JpaConfiguration jpaConfiguration],StandardServiceRegistry standardServiceRegistry)
  29. io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [org.hibernate.SessionFactory] could not be loaded: Error instantiating bean of type  [org.hibernate.boot.MetadataSources]
  30.  
  31. Message: Missing bean argument value: jpaConfiguration
  32. Path Taken: SessionFactory.hibernateSessionFactory([SessionFactoryBuilder sessionFactoryBuilder]) --> SessionFactoryBuilder.hibernateSessionFactoryBuilder([MetadataSources metadataSources],ValidatorFactory validatorFactory) --> MetadataSources.hibernateMetadataSources([JpaConfiguration jpaConfiguration],StandardServiceRegistry standardServiceRegistry)
  33.         at io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:1174)
  34.         at io.micronaut.context.DefaultApplicationContext.initializeContext(DefaultApplicationContext.java:236)
  35.         at io.micronaut.context.DefaultBeanContext.readAllBeanDefinitionClasses(DefaultBeanContext.java:2313)
  36.         at io.micronaut.context.DefaultBeanContext.start(DefaultBeanContext.java:199)
  37.         at io.micronaut.context.DefaultApplicationContext.start(DefaultApplicationContext.java:187)
  38.         at io.micronaut.runtime.Micronaut.start(Micronaut.java:69)
  39.         at io.micronaut.runtime.Micronaut.run(Micronaut.java:288)
  40.         at io.micronaut.runtime.Micronaut.run(Micronaut.java:274)
  41.         at transfer.service.Application.main(Application.java:8)
  42. Caused by: io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [org.hibernate.boot.MetadataSources]
  43.  
  44. Message: Missing bean argument value: jpaConfiguration
  45. Path Taken: SessionFactory.hibernateSessionFactory([SessionFactoryBuilder sessionFactoryBuilder]) --> SessionFactoryBuilder.hibernateSessionFactoryBuilder([MetadataSources metadataSources],ValidatorFactory validatorFactory) --> MetadataSources.hibernateMetadataSources([JpaConfiguration jpaConfiguration],StandardServiceRegistry standardServiceRegistry)
  46.         at io.micronaut.context.AbstractParametrizedBeanDefinition.build(AbstractParametrizedBeanDefinition.java:99)
  47.         at io.micronaut.context.BeanDefinitionDelegate.build(BeanDefinitionDelegate.java:201)
  48.         at io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:1494)
  49.         at io.micronaut.context.DefaultBeanContext.createAndRegisterSingleton(DefaultBeanContext.java:2163)
  50.         at io.micronaut.context.DefaultBeanContext.getBeanForDefinition(DefaultBeanContext.java:1849)
  51.         at io.micronaut.context.DefaultBeanContext.getBeanInternal(DefaultBeanContext.java:1829)
  52.         at io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:997)
  53.         at io.micronaut.context.AbstractBeanDefinition.getBeanForConstructorArgument(AbstractBeanDefinition.java:982)
  54.         at io.micronaut.configuration.hibernate.jpa.$EntityManagerFactoryBean$HibernateSessionFactoryBuilderDefinition.build(Unknown Source)
  55.         at io.micronaut.context.BeanDefinitionDelegate.build(BeanDefinitionDelegate.java:205)
  56.         at io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:1494)
  57.         at io.micronaut.context.DefaultBeanContext.createAndRegisterSingleton(DefaultBeanContext.java:2163)
  58.         at io.micronaut.context.DefaultBeanContext.getBeanForDefinition(DefaultBeanContext.java:1849)
  59.         at io.micronaut.context.DefaultBeanContext.getBeanInternal(DefaultBeanContext.java:1829)
  60.         at io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:997)
  61.         at io.micronaut.context.AbstractBeanDefinition.getBeanForConstructorArgument(AbstractBeanDefinition.java:982)
  62.         at io.micronaut.configuration.hibernate.jpa.$EntityManagerFactoryBean$HibernateSessionFactoryDefinition.build(Unknown Source)
  63.         at io.micronaut.context.BeanDefinitionDelegate.build(BeanDefinitionDelegate.java:205)
  64.         at io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:1494)
  65.         at io.micronaut.context.DefaultBeanContext.createAndRegisterSingleton(DefaultBeanContext.java:2163)
  66.         at io.micronaut.context.DefaultBeanContext.loadContextScopeBean(DefaultBeanContext.java:1761)
  67.         at io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:1172)
  68.         ... 8 common frames omitted
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top