Forums

Home » Liferay Portal » English » 3. Development »

Combination View Flat View Tree View
Threads [ Previous | Next ]
Christopher Olbertz
javax.faces.el.EvaluationException
August 14, 2008 10:56 AM
Answer

Christopher Olbertz

Rank: Junior Member

Posts: 93

Join Date: November 21, 2007

Recent Posts

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?