Exception - Missing package name for rule package.
by Thoutam, Mark X
Hi,
Could we know how to set the package name in the csv decision table.
We are using drools 4.03
Getting Exception
org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing
package name for rule package.
At builder.addPackageFromDrl(reader); (this worked in earlier
application using drools3.0)
CSV content loaded in reader is below.
,RuleSet,com.healthpartners.service.bpm.rules,,,
,Import,com.healthpartners.service.bpm.dto.*,,,
,Variables,com.healthpartners.service.bpm.rules.RulesResultHelper
memberExemptionRules,,,
,RuleTable,MemberExemption,,,
,Condition,Condition,Condition,Condition,Action
,member:MemberAdapter,program:BusinessProgramAdapter,,,memberExemptionRu
les
,personId:id > $1,programId:id ==
$1,eval(member.isEligibleForHealthyBenefits($1)),eval(member.isMemberExe
mptionChanging($1)),"changeMemberExemption($1, $2);"
Segment Name,Dummy condition for personId,Healthy Benefits
Program,Eligible for Healthy Benefits,New member Exemption?,Added
messages
Member Exemption,0,1,program,program,"member, program"
Tha exception log is :
org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing
package name for rule package.
at
org.drools.compiler.PackageBuilder.validatePackageName(PackageBuilder.ja
va:320)
at
org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:236)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java
:167)
Thanks,
Mark
________________________________________
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
If you have received this e-mail in error, please immediately notify the HealthPartners Support Center by telephone at (952) 967-6600. You will be reimbursed for reasonable costs incurred in notifying us.
17 years, 1 month