Hello I got error while running this application is "Session factory can not be created""
How can i solve it? On Sat, May 30, 2009 at 2:26 PM, lalit <lalit.bh...@gmail.com> wrote: > > Check if your hibernate.cfg.xml is in the class path. > Check the sample code at <a="http://oyejava.com/tiki-index.php? > page=Hibernate+Introduction">Introduction to Hibernate</a>, if this > works. > > On May 26, 9:42 pm, pxk5...@njit.edu wrote: > > I am having a problem with this line of code in the Main.java file > > > > SessionFactory sessions = new Configuration().configure > > ().buildSessionFactory(); > > > > It keeps telling me that Configuration is abstract and cannot be > > instantiated. Is anyone else experiencing this? How should this > > problem be resolved? > > > > -- Regards KolluraniPandian A (Living in Virtual World) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---