aspose file tools
The moose likes JSF and the fly likes javax.faces.model.ManagedBean not found Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "javax.faces.model.ManagedBean not found" Watch "javax.faces.model.ManagedBean not found" New topic
Author

javax.faces.model.ManagedBean not found

Vikash Ananda
Ranch Hand

Joined: Oct 12, 2009
Posts: 32
Hi all,

I am extremely new to JSF. Infact this is the first Hello World Application I am building that has Ajax Support. I have written following code from website :
http://weblogs.java.net/blog/driscoll/archive/2008/11/a_simple_ajax_j.html


But Eclipse is not able to find classes for:
javax.faces.model.ManagedBean
javax.faces.model.SessionScoped

Jars added currently:
jsf-api.jar
jsf-impl.jar
jstl.jar
standard.jar
servlet-api.jar

and some commons jar files.

What jars should i include. I googled for it but could not get relevant information. Sadly, www.findjar.com is down.

Thanks,
Vikash Anand.
sri raman
Greenhorn

Joined: Dec 03, 2009
Posts: 6
the jars you added is sufficient(for JSF). build your application once again and restart.

Make sure you have a proper entry in faces-config for ManagedBean
Vikash Ananda
Ranch Hand

Joined: Oct 12, 2009
Posts: 32
Hi,

The exact error is:
The import javax.faces.model.ManagedBean cannot be resolved

in class Count.java

I have rebuilt the application and all jars are there in classpath and also in faces-config.xml file.

Please suggest.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.faces.model.ManagedBean not found
 
Similar Threads
Java calendar issue
Getting NullPointerException while counting number of visitors using session
How to make combination function generic
What is the use of this New Enhanced for loop feature ??
JSF with Ajax question (apache myFaces Tomahawk)