Servlet « Exception « JPA Q&A

1. Why is this Hibernate servlet throwing an IllegalAccessError exception?

I tried to create a very small web app in NetBeans using Hibernate. I placed hibernate3.jar , log4J-1.2.14.jar, sl4j.api.jar, sl4j-log4ja2-1.5.6.jar, dom4j-1.6.1.jar, jta.jar, and ehcache.jar under the Libraries folder. I also placed ...

2. How to treat exceptions in hibernate?

I'm using hibernate and this looks like for the most of my methods:

public boolean insertUser(User user) {
    Session session = HibernateUtil.getSessionFactory().openSession();
    try {

3. Exception Servlet action is not available

Author Message vivigrieco Post subject: Exception Servlet action is not available Posted: Tue Sep 06, 2005 9:23 am Newbie Joined: Fri Aug 05, 2005 1:22 pm Posts: 3 Hi, I'm developing an application using Struts + hibernate + Spring + Tomcat... when i do unit tests, it's ok, but when i do it in a Web "part", an exception ...