You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Francis Guchie (Jira)" <ji...@apache.org> on 2022/07/07 16:50:00 UTC
[jira] [Resolved] (FINERACT-1624) APPLICATION FAILED TO START
[ https://issues.apache.org/jira/browse/FINERACT-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francis Guchie resolved FINERACT-1624.
--------------------------------------
Resolution: Fixed
> 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
> Assignee: Rahul Pawar
> Priority: Major
>
> 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.10#820010)