javax.el.PropertyNotFoundException: Property 'key' not found on type java.lang.String
来源:互联网 发布:开源 学校网站 php 编辑:程序博客网 时间:2024/05/16 17:21
出现次错误,本人归集有:
1、确实没有该字段
2、用了集合存储,而直接用集合调用,即:(集合.字段名)
3、用标签时,没写标签,直接上集合名,调用
以上几种情况可能是可能出现的比较普遍的情况,也是出现这个错误最可能的情况;
不过我本人遇到的这种错误是另外一种情况,之前一直是其他方面的问题,最后才发现是我用到了多层的标签遍历,
使用多层标签遍历本无错,错就错在取名字不注意:
<s:iterator value="othersVo.buttonList" var="item" status="status">
<s:if test="#status.count%8 ==0">
<span> <input class="ui-custom-process-check" type="checkbox" value="${item.key }"
id="${item.key }" />${item.name}<input type="hidden"
value="${item.selected }" /> <br /> </span>
</s:if>
<s:else>
<span> <input class="ui-custom-process-check" type="checkbox" value="${item.key }"
id="${item.key }" />${item.name}<input type="hidden"
value="${item.selected }" /> <br />
<c:if test='${item.key eq "processBack"}'>
<div id="selected" class="ui-custom-process-div" name="selected">
<table width="100%" border="0" cellspacing="0" class="grid_biserial">
<tr>
<td>
前置节点
</td>
<td>
</td>
<td>
回退节点
</td>
</tr>
<tr>
<td width="45%" >
<select name="LeadNode" ondblclick="moveOver();" size="10"
multiple="multiple" style="width: 100%;">
<c:forEach items="${designVo.forwardNodes}" var="item1"
varStatus="status">
<option>
${item1}
</option>
</c:forEach>
</select>
</td>
<td style="text-align: center;">
<p style="margin-bottom: 5px; margin-top: -20px;">
<input type="button"
onclick="moveToRight(this.form.LeadNode,this.form.backNode);"
class="buttonPro" style='width:30px' value=">" />
</p>
<p style="margin-bottom: 5px;">
<input type="button"
onclick="moveAll(this.form.LeadNode,this.form.backNode);"
class="buttonPro" style='width:30px'
value=">>" />
</p>
<p style="margin-bottom: 5px;">
<input type="button" onclick="removeMe();"
class="buttonPro" style='width:30px' value="<" />
</p>
<p>
<input type="button" onclick="reMoveAll('0');"
class="buttonPro" style='width:30px' value="<<" />
</p>
</td>
<td width="45%">
<select name="backNode" id="backNode"
ondblclick="removechild(this)" size="10" multiple="multiple"
style="width: 100%">
<s:iterator value="designVo.backNodes" status="status"
var="item">
- javax.el.PropertyNotFoundException: Property 'key' not found on type java.lang.String
- EL表達式錯誤: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 'begin' 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
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
- javax.el.PropertyNotFoundException:Property 'statisDate' not found on type java.lang.String
- Caused by: javax.el.PropertyNotFoundException: Property 'title' not found on type java.lang.String
- 遇到错误javax.el.PropertyNotFoundException: Property 'start' 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 'empId' 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 'title' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'cid' not found on type java.lang.String
- MFC TRACE宏的使用
- 还有那个bspider不知道哪里的飞鸽传书
- java对象转JSON
- 黑马训练营—冒泡排序法的完整介绍
- 用枚举方法 在case 语句中使用字符
- javax.el.PropertyNotFoundException: Property 'key' not found on type java.lang.String
- Subclass QSortFilterProxyModel
- 下采购订单-总结purcurement for consumption material
- 一个可变的C++字符序列是5 0新增的
- ASP.NET中的回调技术
- DataTable 行转列
- windows神器 - mimikatz
- 2012-02-27-2
- 优秀团队十多十少