Please,I am embeding Jess into my Java code and it is like the file containing my rules is not being loaded. Please, how can I make sure NetBeans laod this rules file?
I am also having the error below being generated by NetBeans:
Exception in thread "main" java.lang.ClassCastException: java.util.HashMap$KeyIterator
at expertvoice.DiagnosingEngine.execute(DiagnosingEngine.java:42)
at expertvoice.expertvoice.main(expertvoice.java:28)
Java Result: 1
How can I solve this problem?
My code is as below: