BLasan commented on pull request #1787:
URL: https://github.com/apache/fineract/pull/1787#issuecomment-962883436


   ```
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'org.springframework.security.authenticationManager': 
Cannot resolve reference to bean 'customAuthenticationProvider' while setting 
constructor argument with key [0]; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'customAuthenticationProvider' defined in URL 
[file:/home/benura/Desktop/fineract/fineract-provider/build/classes/java/main/META-INF/spring/securityContext.xml]:
 Cannot resolve reference to bean 'userDetailsService' while setting bean 
property 'userDetailsService'; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'userDetailsService': Unsatisfied dependency expressed 
through field 'platformUserRepository'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'appUserRepository' defined in org.apac
 he.fineract.useradministration.domain.AppUserRepository defined in : Cannot 
create inner bean '(inner bean)#a120b9' of type 
[org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean 
property 'entityManager'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name '(inner bean)#a120b9': Cannot resolve reference to bean 
'entityManagerFactory' while setting constructor argument; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'tenantDatabaseUpgradeService' defined in file 
[/home/benura/Desktop/fineract/fineract-provider/build/classes/java/main/org/apache/fineract/infrastructure/core/service/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 file [/h
 
ome/benura/Desktop/fineract/fineract-provider/build/classes/java/main/org/apache/fineract/infrastructure/security/service/JdbcTenantDetailsService.class]:
 Unsatisfied dependency expressed through constructor parameter 0; nested 
exception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'hikariTenantDataSource' defined in URL 
[file:/home/benura/Desktop/fineract/fineract-provider/build/classes/java/main/META-INF/spring/hikariDataSource.xml]:
 Bean instantiation via constructor failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[com.zaxxer.hikari.HikariDataSource]: Constructor threw exception; nested 
exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: 
Failed to initialize pool: Could not connect: Connection refused
   ```
   I'm getting this error when running the PR now. Earlier it was working fine


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to