Changing faces-config.xml from 2.2 to 2.3 causes javax.el.PropertyNotFoundException: Target Unreachable, identifier 'bean' resolved to null

后端 未结 4 1972
遇见更好的自我
遇见更好的自我 2020-12-01 23:51

Have the following code snippets:

Bean:

import javax.faces.view.ViewScoped;
import javax.inject.Named;

@Named(value = \"directoryBean\")
@ViewScoped         


        
4条回答
  •  暖寄归人
    2020-12-02 00:35

    I had this problem because after the update of JSF i still had this jar in my classpath :

    el-impl-2.1.2.jar

    After deleting this one the problem went away.

提交回复
热议问题