Yes, it&#39;s a pain. Make sure you import the correct class, if I remember correctly there&#39;s two with the same name in different packages (1) I assume to be &quot;current&quot; active API and (2) legacy. Remove your imports and try refreshing them (assuming you&#39;re in an IDE) picking the correct one.<br>
<br><div class="gmail_quote">2010/10/14 Navdeep Kumar <span dir="ltr">&lt;<a href="mailto:nkumar@objectwave.com">nkumar@objectwave.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I copied those methods and pasted into my code. after importing everything, it is giving me this error..<div><b><br></b></div><div><b>The method addEventListener(WorkingMemoryEventListener) in the type WorkingMemoryEventManager is not applicable for the arguments (new DefaultAgendaEventListener(){})</b></div>

<div><b><br></b></div><div>i am not getting, do i need to create any object of WorkingMemoryEventListener class or have to do something else.</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>