Matt Raible-3 wrote: > > Looking at the error: > > >> org.hibernate.AnnotationException: No identifier specified for entity: >> org.appfuse.tutorial.model.Person >> > > It looks like you're missing an @Id from your getId() method. If you > want to download a working version of this tutorial, you can check it > out from Subversion. Just look at the bottom of the Spring MVC > tutorial - it's got the command you'll need. You can also simply > browse the source if you'd like: > > http://appfuse-demos.googlecode.com/svn/trunk/tutorial-spring/ > > Hope this helps, > > Matt >
That's exactly what it was... I'd put the @Id on setId() instead of getId(). D'oh! Thanks for the quick reply and spot-on help for a n00b mistake. :) -nate -- View this message in context: http://www.nabble.com/mvn-compile-hibernate3%3Ahbm2ddl-tf3154567s2369.html#a8788275 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
