NullPointerException at com.sun.faces.application.view.FaceletViewHandlingStrategy.createView

前端 未结 4 705
臣服心动
臣服心动 2021-01-26 12:52

i am trying to upgrade from jsf 1.2 to jsf 2.2.2 on websphere 8.5.1 and what i did is as follows:

1- put jsf-api-2.2.2.jar and jsf-impl-2.2.2.ja

4条回答
  •  再見小時候
    2021-01-26 13:39

    Also faced with same error during migration Struts 1 -> JSF 2.2 It was occurred by ViewHandlerImpl of struts-faces (1.3.8). Looks like this lib is incompatible with Servlet 3 (which is required by JSF 2.2)

    PS: Was working with JSF 2.0 without any changes.

    So I can suggest to check all 3rd part filters etc., which can be involved to request processing.

    Note for Author, please, pay attention to your code in:

    com.filenet.ae.toolkit.server.servlet.filter.SecurityPluginFilter
    ...
    com.filenet.ae.toolkit.server.servlet.filter.ThreadLocalCleanupFilter
    

提交回复
热议问题