0 Replies Latest reply on May 10, 2007 9:47 AM by 8forty

    NoSuchMethodError on entity bean with enum

    8forty

      windows xp
      jboss 4.0.5

      I have an entity bean with several fields, including one that is an enum annotated as "@Enumerated(EnumType.STRING)". When I create an instance, I can set the other fields ok, but when I try to set a value on the enum field (using the set() function, or setting the field directly in a constructor) I get a NoSuchMethodError exception on the set function (or the ctor).

      Anybody know what's going on here?