myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-2024) ArgumentException: Class org.apache.portals.bridges.jsf.FacesContextFactoryImpl is no javax.faces.context.FacesContextFactory
Date Fri, 24 Oct 2008 23:21:44 GMT
ArgumentException: Class org.apache.portals.bridges.jsf.FacesContextFactoryImpl is no javax.faces.context.FacesContextFactory

------------------------------------------------------------------------------------------------------------------------------

                 Key: MYFACES-2024
                 URL: https://issues.apache.org/jira/browse/MYFACES-2024
             Project: MyFaces Core
          Issue Type: Bug
         Environment: java version "1.5.0_06"
TC 5.5.17
4gb ram
1TB Disk

.\WEB-INF\lib\myfaces-impl-1.1.2.jar

struts.xml
<include file="struts-jsf.xml" />

struts-jsf.xml contents:

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
  <package name="jsf" extends="jsf-default" namespace="/jsf">
      <result-types>
          <result-type name="jsf" class="org.apache.struts2.jsf.FacesResult" />
      </result-types>
    <interceptors>
      <interceptor-stack name="jsfFullStack">
        <interceptor-ref name="params" />
        <interceptor-ref name="basicStack"/>
        <interceptor-ref name="jsfStack"/>
      </interceptor-stack>
    </interceptors>

    <default-interceptor-ref name="jsfFullStack"/>
  </package>
  
  <package name="jsf.employee" extends="jsf" namespace="/jsf/employee">
  
    <action name="list" class="org.apache.struts2.showcase.jsf.JsfEmployeeAction" method="list">
      <result name="success" type="jsf" />
    </action>
    <action name="edit" class="org.apache.struts2.showcase.jsf.JsfEmployeeAction">
      <result name="success" type="jsf" />
    </action>
    <action name="delete" class="org.apache.struts2.showcase.action.EmployeeAction" method="delete">
      <result name="error" type="redirect">list.action</result>
      <result type="redirect">list.action</result>
    </action>
  
  </package>
</struts>

            Reporter: Martin Gainty


javax.servlet.ServletException: Servlet.init() for servlet faces threw exception
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
	org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
	org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
	java.lang.Thread.run(Thread.java:595)

root cause

java.lang.IllegalArgumentException: Class org.apache.portals.bridges.jsf.FacesContextFactoryImpl
is no javax.faces.context.FacesContextFactory
	javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:132)
	javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107)
	javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
	org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
	org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
	java.lang.Thread.run(Thread.java:595)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message