1. location of hibernate.cfg.xml in a war file with jars forum.hibernate.orgI have a deployment question when using Hibernate within a war file. I have my mapping files and classes (and java files in fact) in a jar which is included in the WEB-INF/lib directory. I also have a hibernate.cfg.xml file in the WEB-INF/classes directory (sample): Code: |
2. HEM not finding a jar-file in a WAR application forum.hibernate.org|-WEB-INF |-classes | |-META-INF | |-persistence.xml |-lib |-mylib.jar |