Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
-
None
Description
When i build a war file and use it on tomcat, the application fails to start with the error below.
if its 1.7.0 you get the "Origin: class path resource [application.properties] from fineract-provider-1.5.1-66621dcc-plain.jar - 77:42"
if its the latest develop branch you will get "Origin: class path resource [application.properties] from fineract-provider-1.7.0 66621dcc-plain.jar - 77:42"
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'spring.datasource.hikari' to com.zaxxer.hikari.HikariConfig:
Property: spring.datasource.hikari.driver-class-name
Value: ${FINERACT_HIKARI_DRIVER_SOURCE_CLASS_NAME:org.mariadb.jdbc.Driver}
Origin: class path resource [application.properties] from fineract-provider-1.5.1-66621dcc-plain.jar - 77:42
in either of HikariConfig class loader or Thread context classloaderrg.mariadb.jdbc.Driver
Action:
Update your application's configuration
defined in URL [jar:file:/usr/share/tomcat9/webapps/fineract-provider/WEB-INF/lib/fineract-provider-1.5.1-66621dcc-plain.jar!/org/apache/fineract/infrastructure/core/service/migration/TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in URL [jar:file:/usr/share/tomcat9/webapps/fineract-provider/WEB-INF/lib/fineract-provider-1.5.1-66621dcc-plain.jar!