aspose file tools
The moose likes JSF and the fly likes Compiling JSF java bean - Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Compiling JSF java bean - "javax.faces.context does not exist"" Watch "Compiling JSF java bean - "javax.faces.context does not exist"" New topic
Author

Compiling JSF java bean - "javax.faces.context does not exist"

Christopher Frankland
Ranch Hand

Joined: Jan 22, 2005
Posts: 42
Hi,

I have the following code within a java bean - "LocaleTest.java":



If I attempt to compile the class, I get the following error:

"javax.faces.context does not exist"

My local file structure is as follows:

c:/jsf/flags/src/java/com/flag/LocaleTest.java


What am I missing? If I need to update the classpath, how and where do I do that?

Thanks!

Chris
Eugene Abarquez
Ranch Hand

Joined: May 18, 2006
Posts: 211
You have to make sure that you have all the jsf jar files needed in your classpath.


There's so much to learn in this industry, and not everybody has the necessary interest.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Compiling JSF java bean - "javax.faces.context does not exist"
 
Similar Threads
confusion over class imports
JSF managed bean question
Detecting Errors in jsf
package javax.faces.tree does not exist
Problem with JSF remembering old values