Hi,

 

I’ve followed the tutorial in the facelets site, but it seems that it is causing an error in the ContextListener. Tomcat shows the following error:

 

SEVERE: Error listenerStart

Mar 10, 2006 12:21:30 AM org.apache.catalina.core.StandardContext start

SEVERE: Context startup failed due to previous errors

 

This causes the application to not start.

 

Is Facelets compatible with My Faces?

 

I’ve copied the following files to my WEB-INF/lib:

 

/jsf-facelets.jar (version 1.0.12)
/el-api.jar
/el-ri.jar

 

But not the jars related to Sun RI.

 

Added this to my web.xml:

 

<context-param>

  <description></description>

  <param-name>facelets.DEVELOPMENT</param-name>

  <param-value>true</param-value>

 </context-param>

 <context-param>

  <description></description>

  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>

  <param-value>.xhtml</param-value>

 </context-param>

 

,and the following to faces-config.xml:

 

 

<application>

  <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

 </application>

 

Could you guys help me with this?

 

Thanks.

Reply via email to