0 Replies Latest reply on May 10, 2007 9:47 AM by keith freeman

    NoSuchMethodError on entity bean with enum

    keith freeman Newbie

      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?