May 28, 2012

javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'XXXXXXX'


I have got an exception some thing like,

javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10001: cannot instantiate class 'XXXXXXXXXXXXXXXXXXXXXX'
……………………………………………………………………………..
Caused by: java.lang.IllegalAccessException: Class oracle.adfinternal.controller.beans.ManagedBeanFactory can not access a member of class 'XXXXXXXXXXXXXXXXXXXXXX' with modifiers ""


Solution: 


Check the access modifier of the constructor of your class. The access modifier should be “public”, as the class is being instantiated from out of the package.