0

I'm getting this error continuously...Eclips IDE with appach tomcat

root cause

java.lang.ClassNotFoundException: org.hibernate.HibernateException
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    java.lang.ClassLoader.loadClassInternal(Unknown Source)
    com.rmi.servlet.ProvinceServlet.doPost(ProvinceServlet.java:59)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

1 Answer 1

2

You need to add Hibernate dependency to your project.

Basically, you need to add one of these jars: http://www.jarfinder.com/index.php/java/info/org.hibernate.HibernateException

Here is how to do it from Eclipse: http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.