Menu

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

ADF, Exceptions By May 28, 2012 3 Comments

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.

3 Comments

  1. Anonymous says:

    even when class has public access modifier, error still appear

  2. Anonymous says:

    It should have an public empty constructor

  3. Anonymous says:

    Thanks for the hint , it helped me .

Leave a comment

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.