Hi It seems something wrong into your custom configuration. See this line:
java.lang.IllegalArgumentException: Class org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler It is a symptom that something is not good into your local classpath. Check if you are using versions compatible with JSF 2. If you use maven, try to start configure your setup from an archetype: mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org See available archetypes here: http://myfaces.apache.org/build-tools/archetypes/ regards Leonardo Uribe 2011/6/20 Adam Furmanczuk <[email protected]>: > THX, > > but: > > I just deployed one example: > > ttp://localhost:8080/myfaces-example-blank-1.1.12-20110601.230445-1/helloWorld.jsf > > and i get error code 500. > > maybe this error and my webservice error is connected? > > Example dies with following error on Tomcat 7.0.12. > > > See code below. > > Best regards, > > Adam > > java.lang.IllegalArgumentException: Class > org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl is > no javax.faces.application.NavigationHandler > at > org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:831) > at > org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:753) > at > org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:296) > at > org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:82) > at > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:65) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4701) > at > org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204) > at > org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > > >> Hi >> >> In this address >> >> http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/ >> >> there are some tomahawk examples. Take a look and compare the web.xml. >> >> If you need a working war file, the snapshots can be downloaded from here: >> >> https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/tomahawk/ >> >> regards, >> >> Leonardo Uribe >> >> 2011/6/20 Adam Furmanczuk <[email protected]>: >>> Hi >>> >>> I am using Apache MyFaces for my project (jsf 2.0) and I want to use the >>> tomahawk framework (for uploadfile, calendar, etc) >>> >>> Sadly, Tomcat cancell buidling the war. >>> >>> When I comment out filter mapping for tomahawk, war gets deployed, but >>> sided that use: >>> <%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %> >>> fail with server 500 error. >>> >>> when i put filter mapping as suggested >>> >>> http://myfaces.apache.org/tomahawk/extensionsFilter.html >>> >>> all fails with SEVERE Filter error. >>> >>> Please help I need the upload methods urgently for my apache myfaces >>> webproject. >>> >>> >>> Best Regards, >>> >>> Adam >>> > >
