Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-11116

sample-hibernate-portlet is not working

    Details

      Description

      Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.liferay.samplehibernate.portlet.HibernateUtil
      at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
      at com.liferay.portal.kernel.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:143)
      at org.apache.jsp.view_jsp._jspService(view_jsp.java:484)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      ... 197 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.liferay.samplehibernate.portlet.HibernateUtil
      at com.liferay.samplehibernate.util.FoodItemUtil.getFoodItems(FoodItemUtil.java:128)
      at org.apache.jsp.view_jsp._jspService(view_jsp.java:335)
      ... 200 more

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            steven.cao Steven Cao (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 years, 17 weeks, 5 days ago

                Packages

                Version Package
                6.0.3 GA