Caused by: java.lang.NoSuchMethodException: com.avaje.tests.model.basic.Order$Status.() at java.lang.Class.getConstructor0(Class.java:2647) at java.lang.Class.getDeclaredConstructor(Class.java:1953) at com.avaje.ebeaninternal.server.reflect.EnhanceBeanReflect.defaultConstructor(EnhanceBeanReflect.java:67) ... 18 more
@XmlType(name="status") public enum Status { NEW, APPROVED, SHIPPED, COMPLETE }
Fixed in HEAD.
We are looking for JAXB beans but not Enums. Fix in BootupClasses which filters for 'interesting' beans.