|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
maven template Myfaces + Trinidadhello
I tried the Myfaces + Trinidad maven template from http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.orgwith option 5 and got an java.lang.RuntimeException: FacesContext not foundwhen trying to access index.jspx or index.jsf |
|
|
[ANN]VTD-XML 2.7VTD-XML 2.7
(http://vtd-xml.sf.net) is released and can be downloaded at
http://sourceforge.net/projects/vtd-xml/files/. Below is a summary of what are the new features and enhancements. Expanded VTD-XML's Core API a.. VTDNav: toStringUpperCase, toStringLowerCase, contains(), endsWith(), startsWith() b.. Extended VTD added in-memory buffer support Improved Xpath a.. Added the following XPath 2.0 functions: abs(), ends-with(), upper-case(), lower-case() b.. Added support for variable reference * significantly enhanced XPath syntax, checking error reporting (Special thanks to Mark Swanson) c.. Internal performance tuning Bug fixes and Code Enhancement a.. C version significantly removed warning message, fix memory leak during Xpath expression parsing, b.. Various bug fies (Special thanks to Jon Roberts, John Zhu, Matej Spiller, Steve Polson, and Romain La Tellier) |
|
|
Re: maven template Myfaces + TrinidadI 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 <baeschtu@...> 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 |
|
|
Re: maven template Myfaces + Trinidadtnx, 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 <matzew@...> I think it is using this mapping... |
| Free embeddable forum powered by Nabble | Forum Help |