Yes, it's a pain. Make sure you import the correct class, if I remember correctly there's two with the same name in different packages (1) I assume to be "current" active API and (2) legacy. Remove your imports and try refreshing them (assuming you're in an IDE) picking the correct one.

2010/10/14 Navdeep Kumar <nkumar@objectwave.com>
I copied those methods and pasted into my code. after importing everything, it is giving me this error..

The method addEventListener(WorkingMemoryEventListener) in the type WorkingMemoryEventManager is not applicable for the arguments (new DefaultAgendaEventListener(){})

i am not getting, do i need to create any object of WorkingMemoryEventListener class or have to do something else.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users