in my source code but after the first compilation, ive removed it
Do this then. Delete all .class files and recompile. Make sure you don't have any class files that might reference this old Interface that you had made. I would guess that you still have a class file with your own ActionListener definition somewhere.