Salut,
Can you share the content of web.xml?
In general, you need not register the faces servlet.
The presence of JSF artifacts (such as @javax.faces.ManagedBeans) will automatically trigger the faces servlet registration.
-Alexis
On 16 juil. 2011, at 09:41, forums_at_java.net wrote:
> Hi every one, I'm new with eclipse and i think it's really fantastic, but
> i got a problème, when developping a simple java web application, it's just
> a tutorial, i got the following error when i register Faces Servlet in
> web.xml
>
> INFO: JSF1027 : [null] Les objets ELResolvers de JSF n'ont pas été
> enregistrés avec le conteneur JSP.(in english it can be translated as
> follow: The JSF ELResolvers Objects aren't registered int the JSP container.
> ).
>
>
>
> and then i get the big exception after and my project can't build... can any
> one please to help me? ... thanks!!!
>
> ATTENTION: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service()
> for servlet Faces Servlet threw exception
>
> com.sun.faces.context.FacesFileNotFoundException
>
> at
> com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
>
> at
> com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
>
> at
> com.sun.faces.facelets.impl.DefaultFaceletFactory.getMetadataFacelet(DefaultFaceletFactory.java:209)
>
> at
> com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:114)
>
> at
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:230)
>
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
>
> at
> com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:113)
>
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
>
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
>
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>
> at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>
> at java.lang.Thread.run(Thread.java:680)
>
>
>
>
> --
>
> [Message sent by forum member 'jarode']
>
> View Post: http://forums.java.net/node/822884
>
>