on 08-04-2012 7:29 PM
Hi experts,
j2ee web module project gets error for an import line below.
I added necessary jar file to fix problem using context menu properties->java build path ->Library->add external jar
But problem was not fixed.Does it need different method to add jar or what must i do to solve problem?
Regards.
import
javax.faces.context.FacesContext;
Hi Cemil,
Highlight java.faces.context.FacesContext - right click it and press the "Class JAR locator" (small green icon).
it will find your JAR, select your project from the dropdown in the bottom of the dialog and press ok.
now check if it works.
Best Regards,
Saar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cemil,
I think you might be using a newer jar that only fits 1.5 and above.
try using this myfaces-api-1.1.6.jar
regards,
Saar
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.