Ajuda executar projeto no eclipse

Ola amigos configurei o meu tomcat, bonitnho dentro do eclipse startei, consegui acessar meu http://localhost:8089/
Mas o problema, é que quando eu mando executar meu arquivo eu recebo o seguinte erro

http://localhost:8089/Teste/Teste.jsf

[code]HTTP Status 404 -


type Status report

message

description The requested resource () is not available.


Apache Tomcat/6.0.35[/code]

Dizendo que meu arquivo não existe, coloquei todas as libs necessarias para o funcionamento, mais mesmo asssim não funciona!
olha o print de como estar o meu projeto.

http://imageshack.us/f/585/ajudad.png/

Aqui estar meu web.xml

[code]<?xml version="1.0" encoding="UTF-8"?>

Faces Servlet Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.jsf javax.faces.PROJECT_STAGE Development index.html index.htm index.jsp [/code]

Faz 3 semanas que eu tento executar projetos no eclipse, e não consigo.
Já baixei centenas de versões no eclipse!!

Atualmente estou usando o eclipse java ee indigo versao 3.7.2 mais o plugin jboss tols

Aqui é log do eclipse, quando startado!

06/07/2012 10:28:11 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\eclipse 3.7.2\eclipse; 06/07/2012 10:28:11 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8089 06/07/2012 10:28:11 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 194 ms 06/07/2012 10:28:11 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 06/07/2012 10:28:11 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.35 06/07/2012 10:28:11 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml 06/07/2012 10:28:11 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 06/07/2012 10:28:11 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor Teste.xml 06/07/2012 10:28:12 com.sun.faces.config.ConfigureListener contextInitialized INFO: Inicializando Mojarra 2.0.0 (FCS b23) para o contexto '/Teste' 06/07/2012 10:28:12 com.sun.faces.config.ConfigManager initialize INFO: Unsanitized stacktrace from failed start... java.lang.NullPointerException at com.sun.faces.util.Util.loadClass(Util.java:200) at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 06/07/2012 10:28:12 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:354) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NullPointerException at com.sun.faces.util.Util.loadClass(Util.java:200) at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313) at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262) at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337) ... 25 more 06/07/2012 10:28:12 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 06/07/2012 10:28:12 org.apache.catalina.core.StandardContext start SEVERE: Context [/Teste] startup failed due to previous errors 06/07/2012 10:28:12 com.sun.faces.config.ConfigureListener contextDestroyed SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime java.lang.IllegalStateException: O aplicativo não foi iniciado corretamente na inicialização. Não foi possível encontrar Fábrica: javax.faces.application.ApplicationFactory at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306) at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104) at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:305) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4245) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4886) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4750) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 06/07/2012 10:28:12 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 06/07/2012 10:28:12 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples 06/07/2012 10:28:12 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 06/07/2012 10:28:12 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 06/07/2012 10:28:12 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 06/07/2012 10:28:12 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8089 06/07/2012 10:28:12 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 06/07/2012 10:28:12 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null 06/07/2012 10:28:12 org.apache.catalina.startup.Catalina start INFO: Server startup in 1108 ms

qual a versão do JSF?

como está essa sua tela “Teste” ?

A versão é a 2.0

a minha tela teste

[code]<?xml version="1.0" encoding="ISO-8859-1" ?>

Cadastro de Usuários

Cadastro de Usuários


</h:panelGrid>	

</h:form>


[/code]

Se eu digitar a minha url assim

http://localhost:8089/Teste/Teste.xhtml

apareçe apenas,

Cadastro de Usuários



o correto seria

http://localhost:8089/Teste/Teste.jsf

Observei que quando eu executo assiim
http://localhost:8089/Teste/Teste.jsf

o erro apareçe como se a pagina fosse .jsp
HTTP Status 404 - /Teste/Teste.jsp

Se você está usando xhtml, altere isso: <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> pra isso: <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping>

veja se os componentes JSF aparecem.

Olha eu troquei continuou na mesma!
estranho demais isso

mas agora a URL tem que acessar a pagina.xhtml, e não .jsf

Eu sei mano acessei assim http://localhost:8089/Teste/Teste.xhtml
e só vizualizei isso

Cadastro de Usuários



Veja aí o resultado na imagem ----> http://imageshack.us/f/41/cadas.png/

Cara se não está aparecendo seus componentes JSF é pq não está no contexto faces. Posta seu novo web.xml pra gente ver.

Olha aí meu novo web.xml

[code]<?xml version="1.0" encoding="UTF-8"?>

Faces Servlet Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.xhtml javax.faces.PROJECT_STAGE Development index.html index.htm index.jsp com.sun.faces.writeStateAtFormEnd false [/code]

No netbeans eu consigo executar qualque projeto jsf normal, mais no eclipse nunca funciona, ja li varios artigos, video aulas, e nada resolveu.

Cara faz só um teste, coloca a sua pagina xhtml no

Coloquei, ficou do mesmo jeito, do ultimo print que postei.
=/

ja nao sei mais o que pode ser.

não deveria ser 3.0 na version do web.xml?

Tenta colocar isso no seu web.xml

<context-param>
     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
     <param-value>.xhtml</param-value>
</context-param>