Francis Guchie created FINERACT-1624:
----------------------------------------
Summary: APPLICATION FAILED TO START
Key: FINERACT-1624
URL: https://issues.apache.org/jira/browse/FINERACT-1624
Project: Apache Fineract
Issue Type: Bug
Components: System
Affects Versions: 1.7.0
Reporter: Francis Guchie
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!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)