This content has been marked as final. Show 2 replies
Two possible reasons:
1) you have not added the needed jar for the two classes -> check project properties library and classpath and verify that you have the library 'JSF' added to your project
2) you have imported an other class Application which is in conflict with the needed class. -> check all import statements of the java file which causes the error. Verify that only one import exists which imports the Application class
For compile time error the JSF JAR files are not in the Java Build Path. In Properties select Java Build Path and add the JSF library.