max wrote:
you don't add your mapped classes to the class library- thus the complain about hibernate not being able to load the classes!
I made this change in my build.xml
<!-- Set up the class path for compilation and execution -->
<path id="project.class.path">
<!-- Include jars in the project library directory -->
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
<fileset dir="${source.dir}">
<include name="*.hbm.xml"/>
</fileset>
</path>
But I am still getting the same error message.
In my base folder I have hibernate.properties and build.xml
In my src folder I have Address.hbm.xml
In my lib folder I have all my jar files
Thanks