Thursday, December 22, 2005

Deployment problems (myfaces)

If you just started with JSF and receive the following error message:

The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application


The problem can be that myfaces-impl.jar is not included in /WEB-INF/lib

Try to include this jar file in your web archive (.war) and see if you go any further.

And btw, watch out that you have compatible version of the same jar in your servlet container (Tomcat or JBoss).

No comments: