[jboss-user] [EJB 3.0] - NoSuchMethodError on entity bean with enum

8forty do-not-reply at jboss.com
Thu May 10 09:47:50 EDT 2007

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044675#4044675

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044675

More information about the jboss-user mailing list