NoSuchMethodError - AdfFacesContextFactory.createContext
By Didier Laurent on Feb 07, 2007
Mauro reports the following problem on the OTN Forum:
Running the application from "Introduction to ADF Faces/Trinidad Using JDeveloper" on OTN, migrated from JDeveloper 10.1.3.1.0 to JDeveloper 10.1.3.2.0 fails with the following error:
500 Internal Server ErrorProblem is caused by the fact the adf-faces-api.jar JAR file, in the ...\View\public_html\WEB-INF\lib directory of the application is not migrated to the new release.
java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext (Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)
To fix this issue, you can manually copy file adf-faces-api.jar from <JDev10.1.3.2_Home>\jlib to the application directory ...\View\public_html\WEB-INF\lib.
I informed our Development team about the issue as the same problem was already reported in the previous release, but should have been fixed in 10.1.3.2.0, what's apparently not the case.
I'm still investigating the issue: normally, adf-faces-api.jar is referenced from the "ADF Faces Runtime" library and is no more part of the ...\WEB-INF\lib directory. However, it seems that some of our examples on OTN still include this JAR file (I have the same problem with the ADFFaces_skin_sample).