could not find Factory: javax.faces.application.ApplicationFactory

前端 未结 2 363
一生所求
一生所求 2020-12-21 04:25

Hi i am trying to use following technologies together:

  • JSF 2.1.0
  • ICEFaces 2.0.2 which is according to their document
2条回答
  •  情话喂你
    2020-12-21 04:55

    I solved this problem using two approaches :

    1.Two different version jsf were removed (eg. jsf 1.x or jsf2.x) or two different jsf implementation were removed (mojarra jsf or myfaces) from project .And I used only one implementation either mojarra (or myfaces) but not both .I had done same in case of jsf different version jars (i.e jsf 2.x jars were used)not jsf 1.x.

    2.Remove @ManagedBean annotation from interfaces.

提交回复
热议问题