Is the Speaker class in any package? If yes, are you using hbm file? If yes, you will need to specify the fully qualified class name in the mapping file. eg "com.sun.Speaker"
archana c wrote: > > Hi All, > > I have a problem with hibernate one to many mapping > I am getting error > Initial SessionFactory creation failed.org.hibernate.MappingException: > entity class not found: Speaker > even though I have specified the folder in class path and build path. > Can anyone please help me? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---