Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: 2024-02-27 11:10:31.666  INFO 15552 --- [ main] o.apache.catalina.core.StandardService  : Stopping service [Tomcat] 2024-02-27 11:10:31.677  INFO 15552 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-02-27 11:10:31.696 ERROR 15552 --- [ main] o.s.boot.SpringApplication  : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'controller' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\Controller.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceImpl' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\ServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'droolsSessionPool' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\DroolsSessionPool.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [com/csmart/dx/middleware/promotions/DroolConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) ~[spring-context-5.3.27.jar:5.3.27] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.27.jar:5.3.27] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.csmart.dx.middleware.promotions.PromotionalOffersApplication.main(PromotionalOffersApplication.java:10) ~[classes/:na] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceImpl' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\ServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'droolsSessionPool' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\DroolsSessionPool.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [com/csmart/dx/middleware/promotions/DroolConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.27.jar:5.3.27] ... 19 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'droolsSessionPool' defined in file [D:\Drools_File12012024\drools-promotional-offers\promotional-offers\target\classes\com\csmart\dx\middleware\promotions\DroolsSessionPool.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [com/csmart/dx/middleware/promotions/DroolConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.27.jar:5.3.27] ... 33 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [com/csmart/dx/middleware/promotions/DroolConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.27.jar:5.3.27] ... 47 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.27.jar:5.3.27] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.27.jar:5.3.27] ... 61 common frames omitted Caused by: java.lang.RuntimeException: Unable to get KieModule, Errors Existed: Error Messages: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 0: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=9, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 9, Column: 2]] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 1: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=19, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 19, Column: 2]] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 6: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=29, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 29, Column: 2]] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) >= 11: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate): [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to analyze expression 'monthsBetween(registrationDate, cancellationDate)'] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=39, column=0 text=Unable to Analyse Expression monthsBetween(registrationDate, cancellationDate) < 12: [Error: unable to resolve method using strict-mode: com.csmart.dx.middleware.promotions.CustomerPercentageRefund.monthsBetween(java.util.Date, java.util.Date)] [Near : {... monthsBetween(registrationDate ....}] ^ [Line: 39, Column: 2]] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=27, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_7_$u45$_11_months1269448170] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=17, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_2_$u45$_6_months653802260] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=refundCalc.xlsx, line=7, column=0 text=Rule Compilation error The method monthsBetween(Date, Date) is undefined for the type Rule_Cancelled_within_1st_month205335824] --- Warning Messages: --- Info Messages: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.getKieModule(KieBuilderImpl.java:520) ~[drools-compiler-7.72.0.Final.jar:7.72.0.Final] at org.drools.compiler.kie.builder.impl.KieBuilderImpl.getKieModule(KieBuilderImpl.java:526) ~[drools-compiler-7.72.0.Final.jar:7.72.0.Final] at org.drools.compiler.kie.builder.impl.KieBuilderImpl.getKieModule(KieBuilderImpl.java:501) ~[drools-compiler-7.72.0.Final.jar:7.72.0.Final] at com.csmart.dx.middleware.promotions.DroolConfig.kieContainer(DroolConfig.java:41) ~[classes/:na] at com.csmart.dx.middleware.promotions.DroolConfig$$EnhancerBySpringCGLIB$$ce75bbb8.CGLIB$kieContainer$0() ~[classes/:na] at com.csmart.dx.middleware.promotions.DroolConfig$$EnhancerBySpringCGLIB$$ce75bbb8$$FastClassBySpringCGLIB$$607f7230.invoke() ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.27.jar:5.3.27] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.27.jar:5.3.27] at com.csmart.dx.middleware.promotions.DroolConfig$$EnhancerBySpringCGLIB$$ce75bbb8.kieContainer() ~[classes/:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.27.jar:5.3.27] ... 62 common frames omitted