We are using fineract 1.9 From: Ádám Sághy <adamsa...@gmail.com> Sent: Thursday, July 3, 2025 7:50 PM To: dev@fineract.apache.org Subject: Re: Random Issue with Fineract Application Start-up
Hi Are you facing this issue on latest code of `apache/develop` branch? Regards, Adam On 2025. Jul 3., at 16:13, Bhaskar Tiwari <bhas...@strideone.in<mailto:bhas...@strideone.in>> wrote: Hi Team, I am encountering an intermittent issue when starting the Fineract application. The build process completes successfully when I run the command: ./gradlew --no-daemon --no-build-cache build However, when I attempt to run the application using the generated build files, I sometimes encounter a random error related to theInlineLoanCOBExecutorServiceImpl.class. Interestingly, the issue resolves when I rebuild the application again. Could anyone help me understand why this error occurs sporadically, and if there’s a potential root cause for this behavior? Thanks in advance for your support! My full error: 2025-07-03T16:10:35.621+05:30 INFO 3674330 --- [ main] org.apache.fineract.ServerApplication : Starting ServerApplication v1.6.0-SNAPSHOT using Java 17.0.15 with PID 3674330 (/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar started by ubuntu in /home/ubuntu) 2025-07-03T16:10:35.625+05:30 INFO 3674330 --- [ main] org.apache.fineract.ServerApplication : The following 1 profile is active: "dev" 2025-07-03T16:10:36.585+05:30 WARN 3674330 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/fineract/cob/service/InlineLoanCOBExecutorServiceImpl.class] 2025-07-03T16:10:36.725+05:30 ERROR 3674330 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/ubuntu/scfcode/incubator-fineract-scf/fineract-provider/build/libs/fineract-provider-1.6.0-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/fineract/cob/service/InlineLoanCOBExecutorServiceImpl.class] at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:464) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:318) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:289) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:243) ~[spring-context-6.0.15.jar!/:6.0.15] at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:517) ~[spring-context-6.0.15.jar!/:6.0.15] "Print this mail only if absolutely necessary. Save Paper. Save Trees." Disclaimer: “This electronic mail message sent from StrideOne (Stride Fintree Private Limited) may contain Confidential/Restricted/Internal information and should only be viewed by the intended recipients. Under no circumstances may any such information be disclosed, copied, used or distributed to any unauthorized persons or entities without the written consent of Strideone. If you are not the intended recipient, any review, retransmission, dissemination or reliance on the content of these materials is strictly prohibited and may be the subject of legal action. If you received this email in error, please notify the sender and delete the message immediately.” "Print this mail only if absolutely necessary. Save Paper. Save Trees." Disclaimer: “This electronic mail message sent from StrideOne (Stride Fintree Private Limited) may contain Confidential/Restricted/Internal information and should only be viewed by the intended recipients. Under no circumstances may any such information be disclosed, copied, used or distributed to any unauthorized persons or entities without the written consent of Strideone. If you are not the intended recipient, any review, retransmission, dissemination or reliance on the content of these materials is strictly prohibited and may be the subject of legal action. If you received this email in error, please notify the sender and delete the message immediately.”