Hello,<br>when I EXECUTE my Rule an exception is affiched:<br><br><span style="font-weight: bold;">org.drools.rule.InvalidRulePackage: Unable to create Field Extractor for 'lproject'</span><br style="font-weight: bold;"><span style="font-weight: bold;">Rule Compilation error $lproject cannot be resolved</span><br><br>MYrules:<br>r<span style="font-weight: bold;">ule "userrole1"</span><br style="font-weight: bold;"><span style="font-weight: bold;">when</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;$Project : Project($name : name,$lproject : lproject)</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">then</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">$lproject.deleteRole("Buyer");</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">end</span><br><br>et mon Java Bean:<br><span
 style="font-weight: bold;">public class Project {</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private String Name ;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private ProjectSession lproject;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Project(String Name, ProjectSession lproject)</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; setProject(Name);</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; setlProject(lproject);</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span><br style="font-weight: bold;"><span
 style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; public void setProject(String Name)</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; {</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; this.Name=Name;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; }</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;public String getName()</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;{</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return this.Name;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;}</span><br
 style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; public void setlProject(ProjectSession lproject)</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; {</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; this.lproject=lproject;</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp; }</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;public ProjectSession getlProject()</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;{</span><br style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return this.lproject;</span><br style="font-weight: bold;"><span
 style="font-weight: bold;">&nbsp;&nbsp;&nbsp; &nbsp;}&nbsp; &nbsp;</span><br style="font-weight: bold;"><span style="font-weight: bold;">}</span><br style="font-weight: bold;"><br>Please help me<br>Best regards<br>Ismail<br><p>&#32;
                <hr size="1"> 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.