I’m quite new to myeclipse, but have some experience with eclipse.
I have a project with added hibernate capabilities. Libraries such as hibernate3.jar, log4j-1.2.11.jar and so on, all appear under “Hibernate 3.1 Core Libraries” in the project.
When launched from myeclipse, it all works fine. Now I would like to export this project as an executable jar, so I assume that all these libraries should also go in the jar. The problem is, when I export the project as a jar, none of these libraries is present, and when launching the jar file it gives NoClassDefFoundError exception for a class from hibernate library.
So what is the usual method when deploying hibernate projects? Thanks