Hi, 

Does anyone know why a hibernate class can't be located upon attempting to compile its 
respective mapping document  (xml.hbm) during deployment? 

I think the problem is due to classloading, but I don't know how to solve it.  
Everything else seems to depoy fine.   I'd really appreciate any ideas...

Regards,
Itchy


More facts:
The class is located in a .jar, whereas the mapping document is within a .sar.   
Directory structures are identical.  


The error message states: 
ERROR [Configuration] Could not compile the mapping document 
net.sf.hibernate.MappingException: persistent class [com.kemaiev.jzudi.hibernate
.CompanyHibernateImpl] not found
        at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:84)
.........etc......



Also, within jboss-service.xml:
attribute name="MapResources"
         com/kemaiev/jzudi/hibernate/CompanyHibernateImpl.hbm.xml
attribute


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836272#3836272

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836272



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to