I have a problem with my saliva, but I canโt determine which problem apologizes for the poor explanations. Here is my drl file:
#created on: 17.05.2012 package ru.abc.one.rules; import ru.abc.one.entity.application.KBKIForm; rule "1 risc category" when kbkiForm : KBKIForm ( creditHistoryClassification.contains(" ") || creditHistoryClassification.contains(" ") && kup > 0 && kup < 1 ) then kbkiForm.setClientRiskCategory("1"); end
My test code is:
KnowledgeBase kbase = readKnowledgeBase(path); StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession(); ksession.insert(kbkiForm); ksession.fireAllRules();
And here is my error message:
2013-03-18 09:10:29,991 ERROR: Rule Compilation error The import ru.abc.one.entity.application cannot be resolved ru.abc.one.entity.application cannot be resolved to a type [ru.abc.one.rules.RulesServiceTest]
PS I really need your help guys!
source share