0 Replies Latest reply on Jul 6, 2010 11:36 AM by Y E

    PropertyNotFoundException on seam-gen generated project

    Y E Newbie


      I just generated a project using Seam 2.2.0.GA. The project consist of some entity, entityHome and entityList classes. The xhtml files were also generated.
      The problem I've got is that if I try to open any of the xxxList.xhtml pages I get this error:

      javax.el.PropertyNotFoundException: /XxxList.xhtml @19,85 value="#{XxxList.field.fieldId}": Property 'field' not found on type XxxList_$$_javassist_seam_2
           at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
           at javax.faces.component.UIOutput.getValue(UIOutput.java:184)
           ... 69 more

      I tried this with both JBoss 4.2.3 and JBoss 5.1.0 but the result is the same - the above message.

      My DB is Oracle.

      I haven't changed anything in the generated classes/pages and since these were generated by seam-gen I was expecting everything to just work.

      Can anyone point me to a possible reason for this error as I can't find anything useful in the trace.