Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2007, 03:38 PM
Member
 
Join Date: Jul 2007
Posts: 44
simon is on a distinguished road
NoClassDefFoundError: org/hibernate/Session
I'm using struts and hibernate and when I run the application this error appears:
Code:
Error 500--Internal Server Error java.lang.NoClassDefFoundError: org/hibernate/Session at struts.action.inputAction.execute(inputAction.java:33) at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process (ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost (ActionServlet.java:525) at javax.servlet.http.HttpServlet.service (HttpServlet.java:760) at javax.servlet.http.HttpServlet.service (HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run (ServletStubImpl.java:971) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs (AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs (SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute (ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute (ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run (ExecuteThread.java:170)
any ideas?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-13-2007, 06:19 PM
Member
 
Join Date: Jul 2007
Posts: 51
mary is on a distinguished road
I have had a similar problem
there weren't some jars deployed
check it
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-01-2007, 01:54 PM
Member
 
Join Date: Jul 2007
Posts: 9
arfatkhan is on a distinguished road
have you included the hibernate.jar ?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-01-2007, 06:34 PM
Member
 
Join Date: Jul 2007
Posts: 44
simon is on a distinguished road
you were right mary
I didn't deployed some jars
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.NoClassDefFoundError: com.ibm.ws.orb.GlobalORBFactory hawkeye Enterprise JavaBeans 1 06-16-2008 12:56 PM
java.lang.NoClassDefFoundError J_a_y New To Java 2 08-07-2007 01:51 PM
java.lang.NoClassDefFoundError fred Advanced Java 3 08-01-2007 07:00 PM
java.lang.NoClassDefFoundError: javax/activation/DataSource bbq Advanced Java 1 07-05-2007 06:26 AM
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1 Heather Database 2 06-30-2007 05:01 PM


All times are GMT +3. The time now is 02:05 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org