关于Property 'phy_id' not found on type java.lang.String问题

在写一个列表展示的时候,出现如上错误。

参考至:https://www.cnblogs.com/liguo-ji/p/6061421.html

一般出现上述问题:存在两种情况

1、你的程序的属性没有提供getter方法

2、在<c:forEach var="list" items="${requestScope.list}" varStatus="vs">这里你没有采取EL表达式

在jsp文件中<c:forEach items="${datas}" var="cookstyle"> items出现问题,多打空格或写错。

 

posted @ 2018-10-07 10:50  风few  阅读(284)  评论(0编辑  收藏  举报