This doesn&#39;t seem to be a drools problem. Make sure ruleFile value is correct and that you have the file in the classpath.<div><br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>

<br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 3:02 PM, srinivasasanda <span dir="ltr">&lt;<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Esteban,<br>
Thank you so much for your quick Response.<br>
I am using some older application in my project. and I think ruleBase is not<br>
a problem. I got error at this line. &quot;URL resource =<br>
this.getClass().getResource(ruleFile);&quot; in the above code. and it is<br>
returning null. how to get the resource of the given ruleFile.<br>
Suggest me How to solve this.<br>
<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-add-Packages-to-RuleBase-tp3653477p3653724.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-add-Packages-to-RuleBase-tp3653477p3653724.html</a><br>


</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>