Struts2 的logic:iterate 标签编译时报
Multiple annotations found at this line:
- com.crm cannot be resolved to
a type
<table class="query_form_table">
<tr><td>
<logic:iterate id="right" name="all_right_list" type="com.crm.entity.SysRight">
<%
for(int i=0;i<right.getRightCode().length();++i){
out.print(" ");
}
if(right.getRightType().equals("Folder")){
%>
<hr>
<div style="background-color:#CCCCCC;">
${right.rightText }
<input type="checkbox" name="sysRight" ${right.isSelected } value="${right.rightCode}" onclick="allch('${right.rightCode }')" id="${right.rightCode }">
</div><br>
<%
} else if(right.getRightType().equals("Document")){
%>
${right.rightText }
<input type="checkbox" name="sysRight" ${right.isSelected } value="${right.rightCode}" onclick="selSup('${right.rightCode }')" id="${right.rightCode }">
<%
}
%>
</logic:iterate>
</td>
</tr>
</table>
各位大神,谁知道这是哪些情况下引起的?
com.crm不是一个类...你至少把那一行代码发出来