Running one of my adf pages with some code in the construtor O got the following error:
JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException:
ADFC-10001: cannot instantiate class 'za.co.test.adf.ops.view.common.form.TestBean'
I was adding a partial target to my page in the constructor which is a no no - remove the line
AdfFacesContext.getCurrentInstance().addPartialTarget(getResultTable()); and all was well again.
Note: this can also be caused by any error in the bean constructor.