[rules-users] Rule compilation error
Ravi Krishnamurthy
ravik at savvion.com
Thu Aug 28 19:41:01 EDT 2008
Hello:
I had generated the decisiontable using the eclipse plugin for drools
4.x. using the eclipse the DecisionsampleTest works fine but on running
it from the command line gets the following error:
/C:\FirstDroolPrj\bin>java com.sample.DecisionTableTest
org.drools.rule.InvalidRulePackage: Rule Compilation error : [Rule
name=HelloWor
ld_11, agendaGroup=MAIN, salience=0, no-loop=false]
com/sample/Rule_HelloWorld_11_0.java (8:411) : The method
update(Decisio
nTableTest.Message) is undefined for the type Rule_HelloWorld_11_0
com/sample/Rule_HelloWorld_11_0.java (9:453) : The method
update(Decisio
nTableTest.Message) is undefined for the type Rule_HelloWorld_11_0
at org.drools.rule.Package.checkValidity(Package.java:419)
at
org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:2
92)
at
com.sample.DecisionTableTest.readDecisionTable(DecisionTableTest.java
:62)
at com.sample.DecisionTableTest.main(DecisionTableTest.java:35)
/
Have attached the .xsl and the DecisionTableTest for the reference.
Thanks for your help and time,
Regards,
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080828/ee82083f/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sample.xls
Type: application/vnd.ms-excel
Size: 25600 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080828/ee82083f/attachment.xls
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DecisionTableTest.java
Type: text/java
Size: 2663 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080828/ee82083f/attachment.bin
More information about the rules-users
mailing list