Misleading error message: "a context listener is not setup in your web.xml"
---------------------------------------------------------------------------

         Key: MYFACES-704
         URL: http://issues.apache.org/jira/browse/MYFACES-704
     Project: MyFaces
        Type: Bug
    Versions: 1.1.1    
    Reporter: Simon Kitching
    Priority: Minor


Prior to 1.1.0 it was necessary to specify a custom context listener in the 
web.xml file to enable JSF.
Since 1.10 this has been defined automatically.

However class "javax/faces/FactoryFinder.java" still outputs this message 
whenever anything goes wrong with MyFaces initialisation:
  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>

I think this message is now misleading; no such entry is needed in the web.xml 
file.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to