Hi,

   I have a simple Employee bean class.  When i try to generate the
hibernate mapping file for this using
 java net.sf.hibernate.tool.class2hbm.MapGenerator Employee.class or  just
java net.sf.hibernate.tool.class2hbm.MapGenerator Employee

i am getting the following error:

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";>
<!-- Class Employee.class gave exception java.lang.ClassNotFoundException:
Employee.class -->
<hibernate-mapping>
</hibernate-mapping>

   What am i doing wrong here?

Regards
Madhesh





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to