Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Christopher Frankland
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to make sure that you have all the jsf jar files needed in your classpath.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!