Property 'id' not found on type java.lang.String
2017-08-29 09:42
211 查看
今天在用<C:foreach>标签时遇到了这个错误,
<c:forEach items = " ${pagination.list}" var="brand">
<td><input type="checkbox" value="${brand.id}" />" name="ids"/></td>
</c:forEach>
上面的items = " ${pagination.list}"这里我多出了一个空格,导致一直报上述错误,
修改之后为items = "${pagination.list}"
<c:forEach items = " ${pagination.list}" var="brand">
<td><input type="checkbox" value="${brand.id}" />" name="ids"/></td>
</c:forEach>
上面的items = " ${pagination.list}"这里我多出了一个空格,导致一直报上述错误,
修改之后为items = "${pagination.list}"
相关文章推荐
- Property 'id' not found on type java.lang.String
- Property 'id' not found on type java.lang.String问题
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- Property 'id' not found on type java.lang.String问题解决
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- jstl报错ye:javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundExceptionProperty "name" not found on type java.lang.String
- Property 'XXX' not found on type java.lang.String解决方案
- javax.el.PropertyNotFoundException: Property 'key' not found on type java.lang.String
- javax.el.PropertyNotFoundExpection:Property 'xxx' not found on type java.lang.String
- 异常:javax.el.PropertyNotFoundException: Property 'xxx' not found on type java.lang.String
- jstl报错ye:javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- 遇到错误javax.el.PropertyNotFoundException: Property 'start' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'pname' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'mainimagepath' not found on type java.lang.String
- 对与几种javax.el.PropertyNotFoundException: Property 'XXX' not found on type java.lang.String问题原因
- Property 'typeid' not found on type java.lang.String