javax.el.PropertyNotFoundException: 'newsLine' is an unknown bean property...
来源:互联网 发布:医学大数据 职业病 编辑:程序博客网 时间:2024/05/17 02:50
用了好久的forEach标签,今天帮同事调试程序看到以下异常,第一感觉应该是javabean里面的属性和页面的属性不一致导致,反复检查,确认属性没任何问题,没办法,实在看不出来,只好自己写一个forEach,同一个list,同一个属性,没报任何异常,然后比较发现,报错程序里items="${getTestModule}"在$符号前加了个空格,问题就这么解决了,顿时无语中。。。
[show] javax.el.PropertyNotFoundException: 'newsLine' is an unknown bean property
of 'java.lang.String'
<c:forEach items="${getTestModule}" var="list" varStatus="rowCounter"begin='0' step='1' end='10'><li style="color: blue;"><a href="#" target="_blank">${list.newsLine}</a></li></c:forEach>
<c:forEach items=" ${getTestModule}" var="list" varStatus="rowCounter"begin='0' step='1' end='10'><li style="color: blue;"><a href="#" target="_blank">${list.newsLine}</a></li></c:forEach>
0 0
- javax.el.PropertyNotFoundException: 'newsLine' is an unknown bean property...
- javax.el.PropertyNotFoundException: Property 'bookList' not found 。。。
- javax.el.PropertyNotFoundException: Property 'XXX' not readable
- [java] javax.el.PropertyNotFoundException: Property 'id' not found on type bean.Student
- 异常:javax.el.PropertyNotFoundException: Property 'id' not found on ..........
- 九、javax.el.PropertyNotFoundException: Property 'product_pic' not found
- org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Property 'minnormalrange' not
- javax.el.PropertyNotFoundException: Property 'xxx' not found on type
- 异常:javax.el.PropertyNotFoundException: Property 'id' not found on ..........
- javax.el.PropertyNotFoundException: Property 'XXX' not found on type XXX
- javax.el.PropertyNotFoundException: Property 'fyear' not found on type
- javax.el.PropertyNotFoundException: Property 'id' not found on
- 异常:javax.el.PropertyNotFoundException: Property 'id' not found on
- javax.el.PropertyNotFoundException: Property 'emailaddress' not found on type ja
- javaBea 规范 javax.el.PropertyNotFoundException: Property 'xxxxx' not found
- javax.faces.el.PropertyNotFoundException
- javax.el.PropertyNotFoundException
- javax.el.PropertyNotFoundException
- 顺序表和链表存储的优缺点
- Android中的Shape使用总结
- java中的IO整理
- Appium定位控件的多种方法
- 欢迎使用CSDN-markdown编辑器
- javax.el.PropertyNotFoundException: 'newsLine' is an unknown bean property...
- Unix和Windows在系统安全设计理念上的对比
- 4. 替换空格(字符数组)
- 面向对象的三个基本特征
- 渗透测试
- Java简易LRU缓存实现(开发技巧)
- Java文件下载
- 千万级并发实现的秘密:内核不是解决方案,而是问题所在!
- redhat下配置c++开发环境