This error usually means that code file is running in background . To fix this issue close currently the running programs or restart the eclipse ide or clean the project ( goto project -> clean) or run the ide in administration mode may be it's fixed.