Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When I run fineract with activeMqEnabled profile, it doesn't start and failed with below excpetion. I have standalone ActiveMQ running with default port. so the MessagingConfiguration should work with it.
java -Dspring.profiles.active=activeMqEnabled -jar fineract-provider/build/libs/fineract-provider-0.0.0-6c86e15e.jar
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-04-08 19:45:48.484 -ERROR 11140 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :*************************** APPLICATION FAILED TO START ***************************Description:The dependencies of some of the beans in the application context form a cycle: tenantAwareBasicAuthenticationFilterRegistration defined in class path resource [org/apache/fineract/infrastructure/core/config/SecurityConfig.class] ? tenantAwareBasicAuthenticationFilter (field private org.apache.fineract.notification.service.UserNotificationService org.apache.fineract.infrastructure.security.filter.TenantAwareBasicAuthenticationFilter.userNotificationService) ??????? | userNotificationServiceImpl defined in URL [jar:file:/D:/Work/fineract/source/fineract/fineract-provider/build/libs/fineract-provider-0.0.0-185551c5.jar!/BOOT-INF/classes!/org/apache/fineract/notification/service/UserNotificationServiceImpl.class] ? ? | activeMQNotificationEventPublisher defined in URL [jar:file:/D:/Work/fineract/source/fineract/fineract-provider/build/libs/fineract-provider-0.0.0-185551c5.jar!/BOOT-INF/classes!/org/apache/fineract/notification/eventandlistener/ActiveMQNotificationEventPublisher.class] ? ? | messagingConfiguration (field private org.apache.fineract.notification.eventandlistener.NotificationEventListener org.apache.fineract.notification.config.MessagingConfiguration.notificationEventListener) ? ? | notificationEventListener defined in URL [jar:file:/D:/Work/fineract/source/fineract/fineract-provider/build/libs/fineract-provider-0.0.0-185551c5.jar!/BOOT-INF/classes!/org/apache/fineract/notification/eventandlistener/NotificationEventListener.class] ??????? Action:Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.
Attachments
Issue Links
- links to