Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0': FactoryBean threw exception on object creation; nested exception is 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:/C:/Users/[Redacted]/Downloads/mifosx-develop/mifosx-develop/mifosng-provider/bin/META-INF/spring/securityContext.xml]: Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.security.domain.PlatformUserRepository org.mifosplatform.infrastructure.security.service.TenantAwareJpaPlatformUserDetailsService.platformUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
- at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1512)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1021)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:964)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:862)
- at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:811)
- at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:739)
- ... 27 more
- 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:/C:/Users/[Redacted]/Downloads/mifosx-develop/mifosx-develop/mifosng-provider/bin/META-INF/spring/securityContext.xml]: Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.security.domain.PlatformUserRepository org.mifosplatform.infrastructure.security.service.TenantAwareJpaPlatformUserDetailsService.platformUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:359)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
- at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:632)
- at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1115)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.security.config.authentication.AuthenticationManagerFactoryBean.getObject(AuthenticationManagerFactoryBean.java:28)
- at org.springframework.security.config.authentication.AuthenticationManagerFactoryBean.getObject(AuthenticationManagerFactoryBean.java:20)
- at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
- ... 36 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAuthenticationProvider' defined in URL [file:/C:/Users/[Redacted]/Downloads/mifosx-develop/mifosx-develop/mifosng-provider/bin/META-INF/spring/securityContext.xml]: Cannot resolve reference to bean 'userDetailsService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.security.domain.PlatformUserRepository org.mifosplatform.infrastructure.security.service.TenantAwareJpaPlatformUserDetailsService.platformUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1457)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1198)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
- ... 52 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.security.domain.PlatformUserRepository org.mifosplatform.infrastructure.security.service.TenantAwareJpaPlatformUserDetailsService.platformUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:293)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1186)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
- ... 62 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.security.domain.PlatformUserRepository org.mifosplatform.infrastructure.security.service.TenantAwareJpaPlatformUserDetailsService.platformUserRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:509)
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:290)
- ... 70 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appUserRepository': Cannot create inner bean '(inner bean)#2624882e' 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)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:290)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:129)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1457)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1198)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1021)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:964)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:862)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:481)
- ... 72 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2624882e': 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 [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
- at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:632)
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:442)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1095)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:990)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)
- ... 85 more
- Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tenantDatabaseUpgradeService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\core\service\TenantDatabaseUpgradeService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.mifosplatform.infrastructure.security.service.TenantDetailsService]: : Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:747)
- at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1115)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
- ... 93 more
- Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTenantDetailsService' defined in file [C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\bin\org\mifosplatform\infrastructure\security\service\JdbcTenantDetailsService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:747)
- at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1115)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1021)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:964)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:862)
- at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:811)
- at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:739)
- ... 105 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantDataSourceJndi' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1095)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:990)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1021)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:964)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:862)
- at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:811)
- at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:739)
- ... 119 more
- Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public javax.sql.DataSource org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
- ... 132 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSetUp' defined in class org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1095)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:990)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:324)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.mariaDB4jSetUp(<generated>)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.getProperties(MariaDB4jDataSourceConfiguration.java:33)
- at org.mifosplatform.infrastructure.core.boot.db.DataSourceConfiguration.tenantDataSourceJndi(DataSourceConfiguration.java:31)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.CGLIB$tenantDataSourceJndi$3(<generated>)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7$$FastClassBySpringCGLIB$$6218635b.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.tenantDataSourceJndi(<generated>)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)
- ... 133 more
- Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.mifosplatform.infrastructure.core.boot.db.MariaDB4jSetupService org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
- at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
- ... 155 more
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4j': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1546)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:324)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.mariaDB4j(<generated>)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration.mariaDB4jSetUp(MariaDB4jDataSourceConfiguration.java:18)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.CGLIB$mariaDB4jSetUp$2(<generated>)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7$$FastClassBySpringCGLIB$$6218635b.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
- at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)
- at org.mifosplatform.infrastructure.core.boot.db.MariaDB4jDataSourceConfiguration$$EnhancerBySpringCGLIB$$2966cbe7.mariaDB4jSetUp(<generated>)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)
- ... 156 more
- Caused by: java.lang.IllegalStateException: MariaDB4jSpringService start() failed
- at ch.vorburger.mariadb4j.springframework.MariaDB4jSpringService.start(MariaDB4jSpringService.java:89)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
- at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
- at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
- ... 177 more
- Caused by: ch.vorburger.exec.ManagedProcessException: An error occurred while installing the database
- at ch.vorburger.mariadb4j.DB.install(DB.java:114)
- at ch.vorburger.mariadb4j.DB.newEmbeddedDB(DB.java:70)
- at ch.vorburger.mariadb4j.MariaDB4jService.start(MariaDB4jService.java:68)
- at ch.vorburger.mariadb4j.springframework.MariaDB4jSpringService.start(MariaDB4jSpringService.java:86)
- ... 184 more
- Caused by: ch.vorburger.exec.ManagedProcessException: mysql_install_db was not found, neither in bin/ nor in scripts/ under C:\Users\[Redacted]\Downloads\mifosx-develop\mifosx-develop\mifosng-provider\build\db\bin
- at ch.vorburger.mariadb4j.DB.install(DB.java:99)
- ... 187 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement