Rule Unit API

36 views
Skip to first unread message

Sopan Vinchurkar

unread,
May 13, 2025, 2:16:20 AMMay 13
to Drools Usage
As I'm using drools +  Rule unit api to create a small example using Version 8.44.
After giving post req from postman same error occured multiple times in couple of examples I've tried.

Cannot find any rule unit for RuleUnitData of class:com.helix.demo.ruleUnit.PersonUnit

at org.drools.ruleunits.api.RuleUnitProvider.createRuleUnitInstance(RuleUnitProvider.java:43) If anyone have any solution as where I'm missing something. Please help me. And lastly some examples available shoes we have to use @RuleUnit annotation in out RuleUnit.java class but even after importing dependency it gives error RuleUnit cannot be resolved to a type Is there any solution to this too??

Reply all
Reply to author
Forward
0 new messages