| 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.
|
 |
 |
|
|
subject: javax.faces.model.ManagedBean not found
|
|
|