从Jboss 6升级到wildfly 10之后,我在托管bean中使用方法调用的所有value属性都有这个例外 例如:
<h:inputText value="#{controller.value(cat,subCat)}">
托管bean包含
public String value(String x ,String y){
//Code here to return value..
}
public void setValue(String x){
}
例外:
Caused by: javax.el.PropertyNotWritableException: ... @106,81 value="#{controller.value(cat,subCat)}": Illegal Syntax for Set Operation
at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:136)
at javax.faces.component.UIInput.updateModel(UIInput.java:832)
... 63 more
Caused by: javax.el.PropertyNotWritableException: Illegal Syntax for Set Operation
at com.sun.el.parser.AstValue.setValue(AstValue.java:228)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:294)
at org.jboss.weld.el.WeldValueExpression.setValue(WeldValueExpression.java:64)
at org.jboss.weld.el.WeldValueExpression.setValue(WeldValueExpression.java:64)
at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:131)
... 64 more