ashwanik wrote:
Make sure the file is available in classpath from where the code is run. No need to give the file name unless you are giving different name other than "hibernate.cfg.xml".
/Ashwani
Hi.
I've a similar problem w/ the location of the hibernate.cfg.xml file in the directory structure of an Eclipse plugin that I develop. Currently, it looks like this:
<my plug-in>/src/
<my plug-in>/bin/
<my plug-in>/hibernate.cfg.xml
The CLASSPATH has the standard definition for an Eclipse plug-in (w/ standard I mean the value defined by the wizard) and I expect that the plug-in root directory is included.
Any suggestion?