<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Seems strange, since FileSystemResource
implements InternalResource. <br>
Which version are you using?<br>
Davide<br>
<br>
On 09/18/2013 07:25 AM, <a class="moz-txt-link-abbreviated" href="mailto:poonam.ligade@wipro.com">poonam.ligade@wipro.com</a> wrote:<br>
</div>
<blockquote
cite="mid:B644417C53CCBE42A524841D4D2F78950F00D7FA@CHN-SNR-MBX-5.wipro.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hi,<br>
<br>
I am getting below error:<br>
<br>
Exception in thread "main" java.lang.ClassCastException:
org.drools.io.impl.FileSystemResource cannot be cast to
org.drools.io.InternalResource<br>
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:487)<br>
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)<br>
at SimpleRule.createKnowledgeBase(SimpleRule.java:87)<br>
at SimpleRule.main(SimpleRule.java:32)<br>
<br>
Can you please help.<br>
Its urgent.<br>
<br>
Thanks,<br>
Poonam.<br>
</div>
<p><strong><span style="font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green">
Please do not print this email unless it is absolutely
necessary. </span></strong><span
style="font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p> The information contained in this electronic message and any
attachments to this message are intended for the exclusive use
of the addressee(s) and may contain proprietary, confidential or
privileged information. If you are not the intended recipient,
you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of
this message and any attachments. </p>
<p>WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email. </p>
<p>
<a class="moz-txt-link-abbreviated" href="http://www.wipro.com">www.wipro.com</a>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</body>
</html>