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;"> $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;"> private String Name ;</span><br style="font-weight: bold;"><span style="font-weight: bold;"> private ProjectSession lproject;</span><br style="font-weight: bold;"><span style="font-weight: bold;"> public Project(String Name, ProjectSession lproject)</span><br style="font-weight: bold;"><span style="font-weight: bold;"> {</span><br style="font-weight: bold;"><span style="font-weight: bold;"> setProject(Name);</span><br style="font-weight: bold;"><span style="font-weight: bold;"> setlProject(lproject);</span><br style="font-weight: bold;"><span style="font-weight: bold;"> }</span><br style="font-weight: bold;"><span
style="font-weight: bold;"> </span><br style="font-weight: bold;"><span style="font-weight: bold;"> public void setProject(String Name)</span><br style="font-weight: bold;"><span style="font-weight: bold;"> {</span><br style="font-weight: bold;"><span style="font-weight: bold;"> this.Name=Name;</span><br style="font-weight: bold;"><span style="font-weight: bold;"> }</span><br style="font-weight: bold;"><span style="font-weight: bold;"> public String getName()</span><br style="font-weight: bold;"><span style="font-weight: bold;"> {</span><br style="font-weight: bold;"><span style="font-weight: bold;"> return this.Name;</span><br style="font-weight: bold;"><span style="font-weight: bold;"> }</span><br
style="font-weight: bold;"><span style="font-weight: bold;"> </span><br style="font-weight: bold;"><span style="font-weight: bold;"> public void setlProject(ProjectSession lproject)</span><br style="font-weight: bold;"><span style="font-weight: bold;"> {</span><br style="font-weight: bold;"><span style="font-weight: bold;"> this.lproject=lproject;</span><br style="font-weight: bold;"><span style="font-weight: bold;"> }</span><br style="font-weight: bold;"><span style="font-weight: bold;"> public ProjectSession getlProject()</span><br style="font-weight: bold;"><span style="font-weight: bold;"> {</span><br style="font-weight: bold;"><span style="font-weight: bold;"> return this.lproject;</span><br style="font-weight: bold;"><span
style="font-weight: bold;"> } </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> 
                <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>.