terraform-ui icon indicating copy to clipboard operation
terraform-ui copied to clipboard

Application failed to run

Open AntonDiam opened this issue 6 years ago • 2 comments

After tying to start application in the I get these errors:

terraform-ui]# java -jar target/terraform-ui-1.0.jar ......

2019-01-17 04:07:47 ERROR o.s.boot.SpringApplication - Application startup failed 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 com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure ......... Caused by: 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 com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Communications link failure

All necessary components are installed. OS - Centos7. What to do?

AntonDiam avatar Jan 17 '19 09:01 AntonDiam

getting the same error. @mohnishbasha can you please chime in on this and let us know if there is a dependency or version mismatch on this?

castaway2000 avatar Oct 16 '19 19:10 castaway2000

@castaway2000 I am not currently actively maintaining this as of current, due to other priorities. It is humbling and I really appreciate that you are able to put effort in making this work.

I cant promise but will take a look at this to see if I can fix this or either propose a solution. Meanwhile, the code is open, feel free to debug and raise a PR in case you are able to nail this earlier than me.

mohnishbasha avatar Oct 16 '19 21:10 mohnishbasha