• Post Reply Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError: org/hibernate/Session

 
Tom Hopkins
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this error msg while running TestClient for hibernate. I am not using any IDE. All compilation is fine.

Here is how i run
java -cp ..\..\lib\*;..\..\*;. TestClient

..\..\*-for getting hibernate3.jar
..\..\lib\* - for getting all other jars.

Here is my directory structure.
C:\hibernate-3.2.5.ga\hibernate-3.2\src\User\TestClient.java

I know there is some issue with my classpath..but i am not able to resolve it.
Any help greatly appreciated.

Thanks
Tom
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!