« How To Specify a Second Date Pattern in ConvertDateTime | Main | 7 Buttons Mouse in Linux »

NoSuchMethodError - AdfFacesContextFactory.createContext


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 Error

java.lang.NoSuchMethodError: oracle.adf.view.faces.context.AdfFacesContextFactory.createContext (Loracle/adf/view/faces/webapp/wrapper/ContextWrapper;Loracle/adf/view/faces/webapp/wrapper/RequestWrapper;)
Loracle/adf/view/faces/context/AdfFacesContext;
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.startFilter(AdfFacesFilterHelperImpl.java:112)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:111)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    (...)
Problem 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.

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).

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on February 7, 2007 4:15 PM.

The previous post in this blog was How To Specify a Second Date Pattern in ConvertDateTime.

The next post in this blog is 7 Buttons Mouse in Linux.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle