This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Hibernate:java.lang.ClassNotFoundException: org.hibernate.Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Hibernate:java.lang.ClassNotFoundException: org.hibernate.Session" Watch "Hibernate:java.lang.ClassNotFoundException: org.hibernate.Session" New topic

Hibernate:java.lang.ClassNotFoundException: org.hibernate.Session

Ghaith Shamayleh

Joined: Apr 13, 2011
Posts: 14
Am getting the following exception, can anyone help

java.lang.ClassNotFoundException: org.hibernate.Session
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at dao.AbstractReadDAO.getAll(
at managers.HomePageManager.getAllNews(
at servlets_manager.NewHomePage.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
at Source)
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

I believe, Hibernate library is not in CLASSPATH.

Not many get the right opportunity !
Ghaith Shamayleh

Joined: Apr 13, 2011
Posts: 14
Thanks a lot its solved now
Don't get me started about those stupid light bulbs.
subject: Hibernate:java.lang.ClassNotFoundException: org.hibernate.Session
Similar Threads
java.lang.ClassNotFoundException: javax.servlet.jsp.SkipPageException getting when i run the jsp fil
Unable to Load the Driver!
to retreive datas from mysql table in jsp
Stack trace of Servlet Error in Tomcat
JDBC in JSP not working