Problems with importing a java project

I am trying to import a java project to eclipse, but after doing so, the message "The application can not be resolved in a type error" appears. Occurs when a class tries to extend the application class. I need to know how to set up eclipse correctly to stop this problem