Choose one faces implementation, either myfaces or jsf-ri. I recommend
myfaces since the RI is just that, a reference. What that means to you
is to delete the "jsf-api.jar" and "jsf-impl.jar" from your lib
directory. For myfaces use either "myfaces-all.jar" or the three jars:
myfaces-api.jar, myfaces-impl.jar and tomahawk.jar (these aren't
shipped with facelets, but the 'all' is). I'm not sure which version
of myfaces facelets ships with. I choose to pull the myfaces jars from
the 1.1.1 release of myfaces so that I have the latest stable version.

Try that and see what comes up.

-Andrew

FYI - I haven't tried it on WebLogic, only JBoss 4.0.3 and Tomcat 5.5
and both work fine.

On 2/24/06, Anthony Hong <[EMAIL PROTECTED]> wrote:
> Dear Andrew Robinson,
>
> Now I am studying Facelet with weblogic 9.
> I cannot run the example that shown in section 1 of facelet.
> When I invoked it, is shown
>
> <2006-2-24 下午04时52分31秒 CST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.
> [EMAIL PROTECTED] - name: 'webapp', context-path: '/webapp']
> Root cause of ServletException.
> java.lang.AbstractMethodError: 
> javax.faces.render.ResponseStateManager.isPostbac
> k(Ljavax/faces/context/FacesContext;)Z
>         at 
> com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.
> java:200)
>         at 
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav
> a:156)
>         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
>         at 
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>         Truncated. see log file for complete stacktrace
>
> How to config that web-inf/lib. I copy all lib under facelet/lib and
> facelet.jar to my web-inf/lib
>
> Anthony
>

Reply via email to