Originally posted by Paul Sturrock:
Hmm. If both these things are true you won't see this error. Best to double check I think. Look for spelling mistakes in your mapping files, make sure the hbm.xml files are in the packages you expect them to be and they are packaged with your classes correctly.
Also remember, your SessionFactory must be configured somewhere. If you are using hibernate.cfg.xml to do this every mapping file must by included. If your mapping files (and classes) are in the default package the two lines your posted should be fine.
Originally posted by Paul Sturrock:
Is Skill.hbm.xml on the classpath? Is it configured in hibernate.cfg.xml?