There is something wrong with your hibernate.cfg.xml file. It might be missing the header stuff.
Please post your hibernate.cfg.xml or if you are using JPA, then your persistence.xml. And under the Add Reply button on our site there are ten buttons, use the one labeled "CODE" so that you can put your xml in between the CODE tags that get produced so that the xml keeps its indentation.
Thanks Edvins. I got really busy and wasn't able to look back on this thread, and it is always great when another rancher can step in help out in these cases.