Hi,
I am trying to use Ant tools to generate dll, following is the hibernate.cfg.xml, I got an exception :
hibernatetool] org.hibernate.MappingException: Unable to load class declared as <mapping class="org.bfe.sample.t5.entities.Usr"/> in the configuration:
[hibernatetool] java.lang.ClassNotFoundException: org.bfe.sample.t5.entities.Usr.
I copied the Usr.class into the directory where hibernate-tools.jar is located and still the same error, any idea? Thanks.
<hibernate-configuration>
<session-factory>
-- more entries above --
<!-- List of annotated classes-->
<mapping class="org.bfe.sample.t5.entities.Usr"/>
</session-factory>
</hibernate-configuration>
|