Rectangle 27 0

jsf Websphere Exception: could not find Factory: javax.faces.context.FacesContextFactory?


<listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

Because ServletContainerInitializer Servlet 3.0 feature seems not working on Websphere.

I answer my own question because I found that there is no other question about Websphere, and I want to share my finding with the community. The solution is to add the following xml snippet to the web.xml:

Note
Rectangle 27 0

jsf Websphere Exception: could not find Factory: javax.faces.context.FacesContextFactory?


<listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>

Because ServletContainerInitializer Servlet 3.0 feature seems not working on Websphere.

I answer my own question because I found that there is no other question about Websphere, and I want to share my finding with the community. The solution is to add the following xml snippet to the web.xml:

Note