I had a similar problem and I think it has to do with the fact that
you declare in the drl that service is a HashMap but in the Java class
it is a HashMap<String, AIObject>. I could be wrong, but you might
try making them match. I think that's what worked for me, if my
memory serves me correctly.
On Mon, Jun 30, 2008 at 9:37 AM, thomas kukofka <thomaskukofka(a)web.de> wrote:
I get this exception: Exception in thread "main" java.lang.RuntimeException:
Unexpected global [service]
That's the global declaration in the drl: global java.util.HashMap service
And ther I set teh global in teh Java-class:
HashMap<String, AIOObject> service = new HashMap<String, AIOObject>();
Appreciate your help!
rules-users mailing list
Computer Science Department
University of Virginia