class not found exception in hibernate


class not found exception in hibernate



i am geting the following errot when i am tryinh to run my j2ee projrct. the same project was working before and i started geting this exception now. i am sure that all class are there along with their mapping files

if i remove mappping of jobtitle from my hibernate.cfg.xml ien the project is running

java.lang.ExceptionInInitializerError hrm.dao.HibernateUtil.<clinit>(HibernateUtil.java:28) hrm.dao.AbstractDAO.<init>(AbstractDAO.java:29) hrm.dao.JobSpecificationDAO.<init>(JobSpecificationDAO.java:22) hrm.actions.JobSpecificationAction.execute(JobSpecificationAction.java:53) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)  java.lang.ClassNotFoundException: hrm.dao.Jobtitle 



NHibernate - Updating a table with a trigger on it causes an error - Unexpected row count: 2; expected: 1

1:



Setup and Tear Down of Complex Database State With Hibernate / Spring / JUnit
java.lang.ClassNotFoundException: hrm.dao.Jobtitle 
means you do indicate a mapping in your hibernate.cfg.xml, but a mapping to a class which is not in the classpath of the j2ee project..
Good books or online resources for learning Hibernate [closed]


Hibernate Auditable many-to-many relationships


85 out of 100 based on 75 user ratings 1375 reviews