binance-trade-tracker icon indicating copy to clipboard operation
binance-trade-tracker copied to clipboard

o.s.boot.SpringApplication : Application run failed

Open jlopezhtgrp opened this issue 3 years ago • 1 comments

Hi , I got the following issue, it connects to the DB and everything but at this step it doesn't work.

2021-03-16 20:44:42.879  WARN 2288 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
2021-03-16 20:44:42.880  INFO 2288 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2021-03-16 20:44:42.899  INFO 2288 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2021-03-16 20:44:42.906  INFO 2288 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2021-03-16 20:44:42.986  INFO 2288 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-03-16 20:44:43.014 ERROR 2288 --- [           main] o.s.boot.SpringApplication               : Application run failed

jlopezhtgrp avatar Mar 17 '21 00:03 jlopezhtgrp

Hello @jlopezhtgrp and many thanks for trying out binance trade tracker.

Hard to say what is not working without any logfile. Have you tried running it in debug? How are you even starting the app? From an IDE? Are you using Java11? Have you filled out the app.properties correctly?

Arghh avatar May 01 '21 21:05 Arghh