I looked at the tutorial a little more closely, and the implication *seems* to be that the annotation (@Repository) is an alternative to changing the XML in applcationContext.xml. I commented out the XML declaration that refers to the generic DAO and I am now not getting as many errors, just the JNDI thing.
If I can write to the tutorial page, I will insert some language instructing the user to comment out the generic reference when you implement your own DAO implementation and interface and want to use annotations. I will wait until I do the following in case it sheds more light... I'm going to try adding the XML that seems to be an alternative to the annotation approach, but I would really rather use annotations, as long as they can be made to work. I'll report what I find... I will try leaving the annotation in, or take it out, depending on what results I see... more to come... -- View this message in context: http://appfuse.547863.n4.nabble.com/problem-with-hibernate-tutorial-imports-for-annotations-tp2541421p2542715.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net