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

Comments:

Post a Comment:
Comments are closed for this entry.
About

Didier Laurent - Sr Principal Support Engineer in the JDeveloper team

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today