while doing program of hibernate (for inserting data into database using jsp and hibernate) this error is showing "String id=request.getParameter("id"); name=request.getParameter("name"); email=request.getParameter("email"); SessionFactory sf=new Configuration().configure()."""buildSessionFactory();""" Session s=sf.openSession(); Transaction tr=s.beginTransaction(); Test t=new Test(id,name,email); s.save(t); tr.commit(); s.close();" In builtSessionFactory(); it showing a stripes in that method thats why run time error is comming HTTP Status 500 error -: with this exception "org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.microsoft.sqlserver.jdbc.SQLServerDriver]". Can anyone please tell me the solution every thing i have done(Procedure correctly). | 0 |