I don't know if this is the problem or not but sometimes in Eclipse, errors get set into the error log down below called Problems. You have to manually remove them. If there are Errors (the red ones) down there, just right click them and choose delete until they all go away. Then try running your app again.
Hope this helps.