My Jdev version is 184.108.40.206.0 (11G Release1).
i have developed one ADF application with backing java bean.
i have done many imports but 2 imports are not working fine:
when i compile this backing bean it shows:
Error(16,31): package javax.faces.application does not exist
Error(17,27): package javax.faces.context does not exist
What should i do for this error?
Any suggestions will be really useful.
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