Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Get NoClassDefFoundError: javax/faces/context/FacesContext Error at Runtime

User12347378-OracleFeb 16 2010 — edited Feb 17 2010
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2010
Added on Feb 16 2010
5 comments
1,264 views