title: The method setVar(String) in the type DataTableTag is not applicable for the arguments (JspValueExpression)
body: <p>I want to add a list of strings to a data-table and display. The jsp code is </p>
  
  <pre><code>&lt;h:dataTable value="#{applicationDetails.showUsersToDeleteList}" var="item"&gt;
  &lt;h:outputText value="#{item}"&gt;&lt;/h:outputText&gt;
  &lt;/h:dataTable&gt;
  </code></pre>
  
  <p>which is working fine as the variables are prompted in the IDE. However while its deployed on the server, I get an error as:</p>
  
  <blockquote>
    <p>org.apache.jasper.JasperException: Unable to compile class for JSP: </p>
    
    <p>An error occurred at line: 42 in the jsp file: /NewFile1.jsp
    The method setVar(String) in the type DataTableTag is not applicable for the arguments (JspValueExpression)</p>
  
  <pre><code>39: &lt;h:panelGrid columns="2" rendered="#{applicationDetails.deleteUser==true}"&gt;
  40: &lt;h:outputLabel value="Enter User Id:"&gt;&lt;/h:outputLabel&gt;
  41: &lt;h:inputText value="#{applicationDetails.userId}"&gt;&lt;/h:inputText&gt;
  42: &lt;h:dataTable value="#{applicationDetails.showUsersToDeleteList}" var="item"&gt;
  43: &lt;h:outputText value="#{item}"&gt;&lt;/h:outputText&gt;
  44: &lt;/h:dataTable&gt;
  45: &lt;/h:panelGrid&gt;
  </code></pre>
  </blockquote>