Hi,
I want to develop a portlet using Hibernate and JSF. I use a class called HibernateUtil like in the Hibernate Sample. The portlet is deployed without problems, but when I want to use it, I get this error:
11:27:53,718 ERROR [LifecycleImpl:720] javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: Could not initialize class de.interkulturellesPortal.utils.HibernateUtil
javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: Could not initialize class de.interkulturellesPortal.utils.HibernateUtil
I tried to declare HibernateUtil as a managedBean in faces-configs, but it did not help.
I use Hibernate 3 and Liferay 5 with Tomcat 6.
Has anyone an idea, which could help me?
Please sign in to flag this as inappropriate.