JSFのエラーはわかりにくい。
いきなり変なエラーが
java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
でて
てんぱる。
画面とTomcatのログにでて
むーーなんだーー
と思っていたら、
標準出力にでろでろでてくるTomcatのログをみていたら
faces-config.xmlとかのタグが変だよというエラーがでていた