Hello All,
I was experimenting with the appfuse maven plugin and tried the following:

Based on an existing database in MySQL I ran appfuse:gen-model and this
worked fine by generating all the Entities exactly as expected. I then tried
appfuse:gen -Dentity=Member (Member being one of the Entities generated). I
got this error:

 resource: com/vincentramdhanie/supernova/model/Member.hbm.xml not found

It seems to be looking for the Hibernate XML configuration file even though
the classes generated are all properly annotated.

My question is this: is there a setting somewhere where I need to specify
that this project should use annotations rather than the xml config files? I
have been looking but couldn't find anything. And I couldn't find a similar
question in the archives.

Thanks
Vincent

Reply via email to