With relatively loose definition of enhancement packages and a class that matches the query bean naming convention ... then enhancement will treat that class as if it was a query bean when it is not.
This results in an error like:
java.lang.NoSuchMethodError: com.stuff.query.QueryService._someField()Lcom/stuff/other/SomeObject;
at com.stuff.query.QueryService.getSomething(QueryService.java:338)
Refer to the discussion https://groups.google.com/forum/#!msg/ebean/gPRlOlW42zo/zj_iqfvkAAAJ
With relatively loose definition of enhancement packages and a class that matches the query bean naming convention ... then enhancement will treat that class as if it was a query bean when it is not.
This results in an error like: