Get NoClassDefFoundError: javax/faces/context/FacesContext Error at Runtime
I'm in 11g, PS1. I have an application and I have a SelectOneChoice component that invokes a managed bean (i.e. #{queryHandler.availableFilterChoice}). It then calls my constructor public QueueHandler and within that constructor i have the following line of code:
Application application = FacesContext.getCurrentInstance().getApplication();
.
This line of code builds and compiles, but at runtime I get the following error NoClassDefFoundError: javax/faces/context/FacesContext and the application stops and fails and nothing is rendered. I have the following libraries in my project:
JSP Runtime
JSF 1.2
JSTL 1.2
ADF Page Flow Runtime
ADF Controller Runtime
ADF Controller Schema
ADF Faces Runtime 11
ADF Common Runtime
ADF Web Runtime
MDS Runtime
MDS Runtime Dependencies
Common Beanutils 1.6
Common Logging 1.0.4
Common Collections 3.1
ADF DVT Faces Runtime
ADF DVT Faces Databinding Runtime
EJB 3.0
JPS Designtime
TopLink
Oracle XML Parser V2
Java EE 1.5 API
Oracle JEWT
Trinidad Runtime 11
JSTL 1.2 Tags
Resource Bundle Support
Resource Bundle Variable Resolver
Weblogic 10.3 Remote-Client
Oracle JDBC