Hi all,

I've put hibernate2.jar in $JBOSS_HOME/server/default/lib, but when I try to use 
hibernate, the following error occurs:

java.lang.NoClassDefFoundError: net/sf/hibernate/collection/Set
  |         at net.sf.hibernate.type.TypeFactory.set(TypeFactory.java:200)
  |         at net.sf.hibernate.mapping.Set.getCollectionType(Set.java:29)
  |         at net.sf.hibernate.mapping.Collection.getType(Collection.java:275)
  |         at net.sf.hibernate.cfg.Binder.bindProperty(Binder.java:443)
  |         at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:1070)
  |         at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1050)
  |         at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:361)
  |         at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1243)
  |         at net.sf.hibernate.cfg.Configuration.add(Configuration.java:249)
  |         at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:
  | 285)

No matter what I do, I get this error.  I checked and there is no another 
hibernate2.jar file deployed, no class duplicated, the net/sf/hibernate/collection/Set 
class is in the hibernate2.jar. 
Probably it's a jboss class loader problem. Someone has already had this problem? Did 
someone fix this problem?

Thanks,

afsilva


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

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



-------------------------------------------------------
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