Hi All,
I tried running my first samle from the tutorial given at Hibernate.org webite
http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html I gave the command:
ant run -Daction=store
It gave me below mentioned error
run:
[
java] java.lang.NoClassDefFoundError: org/hibernate/Session
[java] Exception in
thread "main"
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second
I am not sure where exacly is the problem, it looks more like it not able to find the "public static void main()" in the class.
Regards,
Abhinav