On 2/4/11 1:49 PM, [email protected] wrote:
On 2/4/11 1:45 PM, Thiago H. de Paula Figueiredo wrote:
On Fri, 04 Feb 2011 19:37:03 -0200, [email protected] <[email protected]> wrote:

Hello,

Hi!

org.hibernate.MappingException: Unknown entity: com.mustardgrain.clientdailyupdate.entities.User
even though I'm using the import javax.persistence.Entity annotation.

You'll probably need to add your AppModule to the list of modules before building the Registry.

I've actually tried adding the AppModule before building as well, and when I added it I got this exception: java.lang.IllegalArgumentException: Contribution com.mustardgrain.clientdailyupdate.services.AppModule.contributeRequestHandler(OrderedConfiguration, RequestFilter) (at AppModule.java:120) is for service 'RequestHandler', which does not exist.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Also when I created a MockModule class, which created an EasyMock RequestHandler I still ended up with org.hibernate.MappingException: Unknown entity: com.mustardgrain.clientdailyupdate.entities.User


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to