无限超频 2016-05-26 09:39 采纳率: 0%
浏览 3505

javax.el.PropertyNotFoundException求解

JSP报错javax.el.PropertyNotFoundException: Property 'a' not found on type com.cn.action.system.FlowController$Flow
有这个属性,有getset方法。。拼写没错,,

类结构

 class Flow{
        private String a;
        private String b;
        private Integer c;

        public String getA() {
            return a;
        }

        public void setA(String a) {
            this.a = a;
        }

        public String getB() {
            return b;
        }

        public void setB(String b) {
            this.b = b;
        }

        public Integer getC() {
            return c;
        }

        public void setC(Integer c) {
            this.c = c;
        }

        public Flow(String a, String b, Integer c) {
            this.a = a;
            this.b = b;
            this.c = c;
        }

    }
  • 写回答

1条回答 默认 最新

  • Royal_lr 2016-05-26 12:01
    关注

    少了el表达式的jar包,,加进去就好了,,

    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码