Advertisement
Evra70

log

Feb 10th, 2022
1,154
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  .   ____          _            __ _ _
  2.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  3. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  4.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  5.   '  |____| .__|_| |_|_| |_\__, | / / / /
  6. =========|_|==============|___/=/_/_/_/
  7. :: Spring Boot ::        (v1.1.8.RELEASE)
  8.  
  9. java.lang.reflect.InvocationTargetException
  10.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  11.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  12.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  13.     at java.lang.reflect.Method.invoke(Method.java:597)
  14.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
  15.     at java.lang.Thread.run(Thread.java:662)
  16. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  17.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
  18.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  19.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  20.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
  21.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  22.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
  23.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  24.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:975)
  25.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:752)
  26.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
  27.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
  28.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
  29.     at org.jleaf.erp.tools.datauploader.Application.main(Application.java:75)
  30.     ... 6 more
  31. Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build EntityManagerFactory
  32.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:911)
  33.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
  34.     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:336)
  35.     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)
  36.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613)
  37.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
  38.     ... 18 more
  39. Caused by: org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available
  40.     at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:106)
  41.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:148)
  42.     at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2833)
  43.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2829)
  44.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840)
  45.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902)
  46.     ... 23 more
  47.  
Advertisement
RAW Paste Data Copied
Advertisement