simple property not found,jodd bean bean exception
的解决方案是什么?
此外,数据不会插入数据库
at java.lang.Thread.run(Thread.java:745)
11:20:59,247 ERROR [http-bio-28080-exec-11][BeanPropertiesImpl:337] jodd.bean.BeanException: Simple property not found: hId Invalid property: 'heighttableImpl#hId' (actual:'heighttableImpl#hId', forced=false)
jodd.bean.BeanException: Simple property not found: hId Invalid property: 'heighttableImpl#hId' (actual:'heighttableImpl#hId', forced=false)
at jodd.bean.BeanUtilBean.getSimpleProperty(BeanUtilBean.java:158)
at jodd.bean.BeanUtilBean.getIndexProperty(BeanUtilBean.java:250)
at jodd.bean.BeanUtilBean.getProperty(BeanUtilBean.java:482)
at jodd.bean.BeanUtil.getProperty(BeanUtil.java:111)
答案 0 :(得分:0)
这意味着类hId
中没有简单的属性heighttableImpl
。你能告诉我们这堂课的来源吗?
必须可以在该类中访问属性,并且可以选择使用getter,以便阅读。