Seems strange, since FileSystemResource implements InternalResource.
Which version are you using?
Davide
On 09/18/2013 07:25 AM, poonam.ligade(a)wipro.com wrote:
Hi,
I am getting below error:
Exception in thread "main" java.lang.ClassCastException:
org.drools.io.impl.FileSystemResource cannot be cast to
org.drools.io.InternalResource
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:487)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)
at SimpleRule.createKnowledgeBase(SimpleRule.java:87)
at SimpleRule.main(SimpleRule.java:32)
Can you please help.
Its urgent.
Thanks,
Poonam.
*Please do not print this email unless it is absolutely necessary. *
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.
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.
www.wipro.com
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users