tnx, I used the wrong url, it's also written in the faq 3.1. When I run a JSP, I see 'javax.servlet.jsp.JspException: Cannot find FacesContext'
You cannot directly point to a JSF JSP file; you either need to add "/faces" after the servlet context path, or change the suffix (in the URL only) to ".faces". 2009/10/6 Matthias Wessendorf <[email protected]> > I think it is using this mapping... > > <servlet-mapping> > <servlet-name>faces</servlet-name> > <url-pattern>/faces/*</url-pattern> > </servlet-mapping> > > -Matthias > > On Sun, Oct 4, 2009 at 9:11 PM, baeschtu baeschtu <[email protected]> > wrote: > > hello > > I tried the Myfaces + Trinidad maven template from > > http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven > > > > mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org > > > > with option 5 > > > > and got an > > > > java.lang.RuntimeException: FacesContext not found > > > > when trying to access index.jspx or index.jsf > > > > > > > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf >

