We are migrating the drools version from 5.x to 6.4 and We used all the classes and methods what we used earlier except compilation issue such as moved to new package etc.
I faced an below issue when we build DT file (xls) in maven.
[ERROR] ## Errors [Unable to Analyse Expression template != null:
[Error: unable to resolve method using strict-mode: com.svc.User.template()]
[Near : {... template != null ....}]
Note - User class is followed the Java Bean Standards.
Also I tried to disable maven dialect as below
KnowledgeBuilderConfiguration kConf = KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(null,
classLoader);
kConf.setProperty("drools.dialect.mvel.strict", "false");
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(kConf);
But the same error was occurred.Please help me to fix and I am not sure, this is related to dialect or something needs to be changed DT file.
Thanks much.