EL表达式 Property 'XXX' not readable on type XXX

当使用EL表达式获取复合类型的的属性时:

例如: ${book.bookname}

会引发   Property 'XXX' not readable on type  XXX     异常。

这时候要查看你是否使用了内部类,内不是是不是私有的。如果是换成公有的,或者单独抽取出一个类。

也不建议把属性只用一个小写字母命名。

EL表达式 Property 'XXX' not readable on type XXX相关推荐

  1. [java] javax.el.PropertyNotFoundException: Property 'id' not found on type bean.Student

    问题提出: 在使用MyEclipse开发Java Web时,调用DAO和Java Bean出现了如下错误: 严重: Servlet.service() for servlet [jsp] in con ...

  2. javax.el.PropertyNotFoundException: Property 'username' not found on type pers.wsf.multiBlog.pojo.Ar

    my:${a.username}获取不到值的问题 简略错误信息: message javax.el.PropertyNotFoundException: Property 'username' not ...

  3. javax.el.PropertyNotFoundException: Property 'eid' not found on type com.aqd.entity.User

    在完成SSH框架项目中,查询列表时出现此问题,具体报错信息如下所示: 六月 09, 2019 10:57:28 下午 org.apache.catalina.core.ApplicationDispa ...

  4. javax.el.PropertyNotFoundException: Property 'fullName' not found on type java.lang.String

    javax.el.PropertyNotFoundException: Property 'fullName' not found on type java.lang.String 这里有el标志,后 ...

  5. javax.el.PropertyNotFoundException: Property 'typeId' not found on type java.lang.String

    问题描述: 将后台内容回显到前台时,报错 问题分析: javax.el.PropertyNotFoundException:说明是在写el表达式的时候,参数配置错误,经检查,el表达式写错了 问题解决 ...

  6. javax.el.PropertyNotFoundException:Property 属性名 not found on type 类名/jsp注释问题

    想想是有很久没有写过jsp页面了,这两天接手一个项目里面用到jsp,我把类里面一个属性注掉了 然后一直提示错误说在类里面没有找到这个属性,因为之前有写过的一篇文章 https://blog.csdn. ...

  7. jsp页面获取参数的方法(url解析、el表达式赋值、session取值)【原创】

    最近使用myEclispse做网站,使用jsp+js+css做页面,网站中常用到从列表进入详情页面的跳转,下面对详情页面的值填充方式做一个简单总结: 1.url中使用request获取参数 jsp上方 ...

  8. unknown action type: xxx

    [vuex] unknown action type: xxx [vuex] unknown action type: xxx 注释掉 export default {// namespaced: t ...

  9. javax.el.PropertyNotFoundException: Property ‘XXX‘ not found on type xx.xx.xx.xx问题解决(el表达式))

    写javaweb项目的时候,遇到了javax.el.PropertyNotFoundException: Property 'XXX' not found on type xx.xx.xx.xx报错, ...

最新文章

  1. hive与hbase整合
  2. idhttpserver的使用方法
  3. Linux find查找文件夹(目录)所在位置
  4. 【Error】IDEA报错:org.jetbrains.jps.builders.java.dependencyView.TypeRepr$PrimitiveType cannot be cast t
  5. 智能解析php源码,PHP源码:XyPlayer在线影视v3.8二次智能解析源码
  6. react中key的正确使用方式
  7. toj 4611 Repairing a Road
  8. 利用Jmail发送和接收邮件
  9. 当运行 Linux 内核的机器死机时...
  10. 一刷leetcode——树
  11. 《数据库系统概念》14-静态散列
  12. iOS:xxx referenced from
  13. 两个多变量分布间的KL散度+变分子编码
  14. 清华大学操作系统OS学习(三)——启动、中断、异常和系统调用
  15. 乐高ev3搭建图_乐高编程培训是什么都教啥?2020可编程机器人积木编程推荐,...
  16. 用word怎么做c语言框图作业,在Word中绘制简单C语言流程图(精)
  17. C语言按行列加密解密(英文文本)
  18. 3ds Max老崩溃是什么感觉?崩溃还没有保存文件?这个小细节你要注意了
  19. idcnd传媒官方专业提供
  20. 从六爻分析淘宝的发展

热门文章

  1. C# 怎么才能取到网卡的型号信息呢? 如: 博通 NetLink BCM57781 Gigabit Ethernet
  2. android视频编辑sdk官网,LanSoEditor_common ---android平台的视频编辑SDK
  3. Re0谁是真女主?让词云来告诉你
  4. Rethinking the Distribution Gap of Person Re-identi cation with Camera-based Batch Normalization论文笔记
  5. IM聊天应用是如何将消息发送给对方的
  6. gotoprint函数在c语言,C语言之goto浅析
  7. unity 实现帧同步
  8. 几款不错的golang应用包 持续更新中~~~
  9. 佳能镜头的英文缩写含义以及镜头昵称
  10. 前端基础:Day06