错误:Property 'XXX' not found on type java.lang.String解决方案
2017-10-21 11:45
531 查看
一,标签指令错误。
原指令标签:
[java]
view plain
copy
<%@ taglib prefix="c" uri="http://j ava.sun.com/jstl/core" %>
改正后的指令标签:
[java]
view plain
copy
<%@ 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>
三,属性值错误
比如${xxx } 还有"${xxx} "引号里存在空格和大括号里存在空格也是有可能出错的
原指令标签:
[java]
view plain
copy
<%@ taglib prefix="c" uri="http://j ava.sun.com/jstl/core" %>
改正后的指令标签:
[java]
view plain
copy
<%@ 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>
三,属性值错误
比如${xxx } 还有"${xxx} "引号里存在空格和大括号里存在空格也是有可能出错的
相关文章推荐
- 错误:Property 'XXX' not found on type java.lang.String解决方案
- 错误:Property 'XXX' not found on type java.lang.String解决方法
- Property 'XXX' not found on type java.lang.String解决方案
- jsp中Property 'XXX' not found on type java.lang.String解决方案
- Property 'XXX' not found on type java.lang.String解决方案
- Property 'value' not found on type java.lang.String的错误原因
- Property 'date' not found on type java.lang.String] with root cause解决方案
- JSTL表达式错误PropertyNotFoundException: Property 'title' not found on type java.lang.String
- Property '0' not found on type java.lang.String的解决方案
- javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String 错误解决办法
- 异常:javax.el.PropertyNotFoundException: Property 'xxx' not found on type java.lang.String
- 遇到错误javax.el.PropertyNotFoundException: Property 'start' 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问题原因
- Property 'xxxxx' not found on type java.lang.String
- Property 'id' not found on type java.lang.String问题
- javax.el.PropertyNotFoundExceptionProperty "name" not found on type java.lang.String
- Property 'typeid' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'title' not found on type java.lang.String
- 解决javax.el.PropertyNotFoundException: Property 'empId' not found on type java.lang.String