Property 'XXX' not found on type java.lang.String解决方案
Posted 小小飞侠
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Property 'XXX' not found on type java.lang.String解决方案相关的知识,希望对你有一定的参考价值。
一,标签指令错误。
原指令标签:
- <%@ taglib prefix="c" uri="http://j ava.sun.com/jstl/core" %>
改正后的指令标签:
- <%@ taglib prefix="c" uri="http://j ava.sun.com/jsp/jstl/core" %>
二,foreach标签错误
原标签
<c:forEach items="XXX" var="xx">
...
</c:forEach>
改正后指令
<c:forEach items="${XXX}" var="xx">
...
</c:forEach>
以上是关于Property 'XXX' not found on type java.lang.String解决方案的主要内容,如果未能解决你的问题,请参考以下文章
There is no getter for property named 'xxx' in 'class java.lang.String
Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String'(示例代
Mybatis中传参包There is no getter for property named 'XXX' in 'class java.lang.String'(示
Mybatis-no getter for property named 'col_name' in 'class com.xxx.onebean'
实力踩坑:There is no getter for property named ‘XXX‘ ‘class XXX‘
There is no getter for property named 'XXX' in class 'aaa.bbb.ccc'(终极骚操作的解决方法)