• Post Reply Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError: org/hibernate/Session

Tom Hopkins
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.

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

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!