-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problems with adding assembly to configuration
PostPosted: Fri Nov 25, 2005 2:45 pm 
Hi,

I am just starting with NHibernate and set up my first project with no problems. Now I put my data objects and the hbm.xml files into a separate assembly, a class library dll. From another project which is a command line application I am trying to add the hbm.xml files with the following commands:

Configuration config = new Configuration();
config.AddAssembly("AssemblyNameWithHbmFiles");

This leads to the following error:
An unhandled exception of type 'NHibernate.MappingException' occurred in nhibernate.dll
Additional information: could not find class:

I am using NHibernate 1.0.1. What could be the problem here?

Thanks in advance,
Gregor


Top
  
 
 Post subject:
PostPosted: Fri Nov 25, 2005 8:20 pm 
Alright, it was my fault. I found some empty class attributes in my hdm.xml files. Sorry...


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.