I have imported the DRL file and required pojo as individual jar file in guvnor. I could see the dependent classes appearing as fact for individual rule and Guvnor exposes those rules via URL. I use changeset to consume the URL and apply the rules for my data. When I do that, I get below exception message for all the class I imported in the DRL file.
Unable to Analyse Expression
[Error: unable to resolve method using strict-mode: org.drools.spi.KnowledgeHelper.***]
Can someone help me in resolving this issue?
Thanks in advance!
Without seeing the DRL, I'll take a guess. I suspect that you're using the 'mvel' dialect, but your DRL is doing things which assume the Java dialect. Try changing that. You can see an example of this here:
Throwing exception in Guvnor (Guided Editor Rule)
If you post the DRL, then I may well need to reconsider and change/delete this answer. :)