Hi
Would you give a try to run it again?
Usually this error means when the external events in Fineract and the external events configuration in database does not match: - DB is not up to date (liquibase was not executed properly) - Fineract is not up to date (some module were missing during the build) - Fineract gradle build was incomplete and some files were missing (usually this happens during bootRun)
Please give a try to run it again and let us now if this exception still occurs.
Regards Adam Sent from my iPhone Dear All, I pulled the latest branch of fineract from fineract's main github and created the two databases as in the README file. However when i run ' ./gradlew bootRun', I get the following error
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-03-03 11:59:00.897 -ERROR 29092 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'externalEventConfigurationValidationService' defined in URL [jar:file:/M:/Programming/Enterprise/Banking_and_Finance/Fineract/fineract/fineract-core/build/libs/fineract-core-1.10.0-SNAPSHOT.jar!/org/apache/fineract/infrastructure/event/external/service/ExternalEventConfigurationValidationService.class]: No external events configured at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1773) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:959) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) at org.apache.fineract.ServerApplication.main(ServerApplication.java:57) Caused by: org.apache.fineract.infrastructure.event.external.exception.ExternalEventConfigurationNotFoundException: No external events configured at org.apache.fineract.infrastructure.event.external.service.ExternalEventConfigurationValidationService.validateEventConfigurationForIndividualTenant(ExternalEventConfigurationValidationService.java:79) at org.apache.fineract.infrastructure.event.external.service.ExternalEventConfigurationValidationService.validateEventConfigurationForAllTenants(ExternalEventConfigurationValidationService.java:64) at org.apache.fineract.infrastructure.event.external.service.ExternalEventConfigurationValidationService.afterPropertiesSet(ExternalEventConfigurationValidationService.java:55) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1820) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769) ... 15 common frames omitted > Task :fineract-provider:bootRun FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':fineract-provider:bootRun'. > Process 'command 'C:\Program Files\Java\jdk-17.0.5\bin\java.exe'' finished with non-zero exit value 1
* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 3m 29s 43 actionable tasks: 30 executed, 3 from cache, 10 up-to-date
Any help with this? I'm using Java 17 --
|