<DIV>
<DIV>
<DIV>hello,everyone!I wrote a rule with Drools,but the error told me that the field Server.Message is not visible, I can't find how it happens. Please help me, I am almost exhausted with it. thank you.</DIV>
<DIV>the rules are as follows:</DIV>
<DIV> </DIV>
<DIV>package com.sample</DIV>
<DIV>import com.sample.Server;</DIV>
<DIV> </DIV>
<DIV>rule "system will execute 'tc' command"<BR> when<BR> eval(Server.Message>8388608)<BR> then <BR> System.out.println("The network is so crowd that it needs repairing.");<BR> Runtime.getRuntime().exec("tc");#execute the "tc" command<BR>end</DIV>
<DIV> </DIV>
<DIV>rule "caution"<BR> when <BR> eval(Server.Message==8388608)<BR> then <BR> System.out.println("caution!The network maybe will get blocked very soon.");<BR>end </DIV>
<DIV> </DIV>
<DIV>rule "fluent network"<BR> when<BR> eval(Server.Message<8388608)#conditions<BR> then <BR> System.out.println("the current network is very good");#actions<BR>end</DIV></DIV><BR></DIV> <br><!-- urlfiles --><br><br><!-- footer --><br>