Hi,


I have created several entities with the Hibernate and Spring cartridge.

Everything is fine.

However when i try to create a small Java app around them i need to use the 
following code:



ApplicationContext context = new 
ClassPathXmlApplicationContext("applicationContext.xml");



I also needed to put the dataSource definition in this file.

When i tried to use the same line for the beanRefFactory.xml, which i thought 
would solve everything i got errors when the spring cartridge tried to load the 
files.



org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 
'testEntity2Dao' is defined:



Can you answer this?



thanks

attila
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=361#361
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to