<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Customizing Annotation Configuration and Component Detection in Spring 2.1</title>
	<atom:link href="http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:31:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Greg</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-215184</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Thu, 03 Nov 2011 10:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-215184</guid>
		<description>This helped me to save a lot of time. Thanks !</description>
		<content:encoded><![CDATA[<p>This helped me to save a lot of time. Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mital Pritmani</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-205341</link>
		<dc:creator>Mital Pritmani</dc:creator>
		<pubDate>Wed, 12 Oct 2011 06:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-205341</guid>
		<description>Thanks for this post.

It solved my issue of &quot;no unique bean of type is defined expected single matching bean but found 2&quot; exception.</description>
		<content:encoded><![CDATA[<p>Thanks for this post.</p>
<p>It solved my issue of &#034;no unique bean of type is defined expected single matching bean but found 2&#034; exception.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 316m &#171; Mindless Chatter</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-190488</link>
		<dc:creator>316m &#171; Mindless Chatter</dc:creator>
		<pubDate>Thu, 17 Mar 2011 03:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-190488</guid>
		<description>[...] Customizing Annotation Configuration and Component Detection in Spring 2.1 &#124; SpringSource Team Blog  [...]</description>
		<content:encoded><![CDATA[<p>[...] Customizing Annotation Configuration and Component Detection in Spring 2.1 | SpringSource Team Blog  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Customizing Annotation Configuration and Component Detection in Spring 2.1 &#124; Ringo&#39;s Blog</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-174339</link>
		<dc:creator>Customizing Annotation Configuration and Component Detection in Spring 2.1 &#124; Ringo&#39;s Blog</dc:creator>
		<pubDate>Sat, 17 Jul 2010 15:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-174339</guid>
		<description>[...] The first thing I want to demonstrate is how to create an application context without using any XML. For those who have used Spring&#8217;s BeanDefinitionReader implementations, this will look very familiar. Before creating the context however, we need a few &#8220;candidate&#8221; beans on the classpath. [Read More] [...]</description>
		<content:encoded><![CDATA[<p>[...] The first thing I want to demonstrate is how to create an application context without using any XML. For those who have used Spring&#039;s BeanDefinitionReader implementations, this will look very familiar. Before creating the context however, we need a few &#034;candidate&#034; beans on the classpath. [Read More] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-110488</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Fri, 27 Jun 2008 02:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-110488</guid>
		<description>[…] former peeps over at Yahoo just released 10 more components, 3 Flash and 5 Flex components. The also fixed some of the bugs […]</description>
		<content:encoded><![CDATA[<p>[…] former peeps over at Yahoo just released 10 more components, 3 Flash and 5 Flex components. The also fixed some of the bugs […]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpringSource Team Blog &#187; Spring Dependency Injection &#38; Java 5 (including slides and code)</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-100936</link>
		<dc:creator>SpringSource Team Blog &#187; Spring Dependency Injection &#38; Java 5 (including slides and code)</dc:creator>
		<pubDate>Tue, 18 Mar 2008 16:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-100936</guid>
		<description>[...] Customizing Annotation Configuration and Component Detection in Spring 2.5 by Mark Fisher [...]</description>
		<content:encoded><![CDATA[<p>[...] Customizing Annotation Configuration and Component Detection in Spring 2.5 by Mark Fisher [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interface21 Team Blog &#187; ASM version incompatibilities, using Spring @Autowired with Hibernate</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-55930</link>
		<dc:creator>Interface21 Team Blog &#187; ASM version incompatibilities, using Spring @Autowired with Hibernate</dc:creator>
		<pubDate>Thu, 18 Oct 2007 17:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-55930</guid>
		<description>[...] Posted on June 11th, 2007 by Alef Arendsen in Spring, 2.0, Data Access, IOC Container, 2.5/2.1.  I was working on Spring 2.1 stuff this week with Joris. We were preparing a sample using all three ways of doing dependency injection. The sample does not only highlight dependency injection, but also features a back-end based on Hibernate. [...]</description>
		<content:encoded><![CDATA[<p>[...] Posted on June 11th, 2007 by Alef Arendsen in Spring, 2.0, Data Access, IOC Container, 2.5/2.1.  I was working on Spring 2.1 stuff this week with Joris. We were preparing a sample using all three ways of doing dependency injection. The sample does not only highlight dependency injection, but also features a back-end based on Hibernate. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caleb</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-34663</link>
		<dc:creator>Caleb</dc:creator>
		<pubDate>Mon, 16 Jul 2007 14:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-34663</guid>
		<description>Thanks for the walkthrough -- this post and its predecessor have been very helpful in understanding the new annotation-based configuration options, the growth of which I have been excited to see!

I have a quick comment and a question.  First, the question:  Will there be a way of configuring factory beans using annotations, or is there a way of doing so already that I am simply too dense to realize?  As I understand it, currently the only way to specify a factory method is through the XML configuration.

Now, the comment:  I was surprised to read about your thought process in determining whether or not to include a way of configuring a bean&#039;s scope via an annotation.  Certainly, the argument that a bean&#039;s scope should be a deployment-level configuration item is valid.  However, most of us using Spring in our day-to-day development are constantly striking a balance between doing the &quot;right&quot; thing and doing the rapid thing.  While a scope annotation breaches the separation of deployment description from bean description, in many cases a bean will only ever live in one scope, and there is a considerable benefit in convenience gained from having all of a bean&#039;s configuration specified right there in the source.  Additionally, the Spring developers, it seems to me, have always championed choice and flexibility over proscription and rigidity, so I was very glad to see the introduction of the @Scope annotation.

Thanks for providing such a valuable framework.  Spring rocks, and your continued dedication to flexibility will make Spring 2.1 rock even harder!</description>
		<content:encoded><![CDATA[<p>Thanks for the walkthrough &#8212; this post and its predecessor have been very helpful in understanding the new annotation-based configuration options, the growth of which I have been excited to see!</p>
<p>I have a quick comment and a question.  First, the question:  Will there be a way of configuring factory beans using annotations, or is there a way of doing so already that I am simply too dense to realize?  As I understand it, currently the only way to specify a factory method is through the XML configuration.</p>
<p>Now, the comment:  I was surprised to read about your thought process in determining whether or not to include a way of configuring a bean&#039;s scope via an annotation.  Certainly, the argument that a bean&#039;s scope should be a deployment-level configuration item is valid.  However, most of us using Spring in our day-to-day development are constantly striking a balance between doing the &#034;right&#034; thing and doing the rapid thing.  While a scope annotation breaches the separation of deployment description from bean description, in many cases a bean will only ever live in one scope, and there is a considerable benefit in convenience gained from having all of a bean&#039;s configuration specified right there in the source.  Additionally, the Spring developers, it seems to me, have always championed choice and flexibility over proscription and rigidity, so I was very glad to see the introduction of the @Scope annotation.</p>
<p>Thanks for providing such a valuable framework.  Spring rocks, and your continued dedication to flexibility will make Spring 2.1 rock even harder!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby Quinne</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-26940</link>
		<dc:creator>Bobby Quinne</dc:creator>
		<pubDate>Wed, 13 Jun 2007 06:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-26940</guid>
		<description>I am currently trying to code a dao :

@Repository(value=&quot;dao.my&quot;)
public class MyDao extends HibernateDaoSupport implements IMyDao
{
}

however at runtime I receive the following exception. Any ideas? Have I left something out?  :

Unable to return specified BeanFactory instance: factory key [com.my], from group with resource name [classpath*:beanRefFactory.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [com.tradecraft.demerol], from group with resource name [classpath*:beanRefFactory.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.my&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:405)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.my&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:430)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:255)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:252)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:98)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:178)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:781)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:699)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1178)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:407)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:255)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:252)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:689)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:358)
	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:91)
	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:75)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:83)
Caused by: java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required
	at org.springframework.orm.hibernate3.support.HibernateDaoSupport.checkDaoConfig(HibernateDaoSupport.java:115)
	at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1175)</description>
		<content:encoded><![CDATA[<p>I am currently trying to code a dao :</p>
<p>@Repository(value=&#034;dao.my&#034;)<br />
public class MyDao extends HibernateDaoSupport implements IMyDao<br />
{<br />
}</p>
<p>however at runtime I receive the following exception. Any ideas? Have I left something out?  :</p>
<p>Unable to return specified BeanFactory instance: factory key [com.my], from group with resource name [classpath*:beanRefFactory.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [com.tradecraft.demerol], from group with resource name [classpath*:beanRefFactory.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.my&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:405)<br />
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;com.my&#039; defined in URL [file:/home/lore/development/projects/mainline/source/server/gen/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.my&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:430)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:255)<br />
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:252)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)<br />
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:395)<br />
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:98)<br />
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)<br />
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:178)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:781)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:699)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)<br />
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;dao.configuration&#039;: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1178)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:407)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:255)<br />
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:252)<br />
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)<br />
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)<br />
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:689)<br />
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:358)<br />
	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:91)<br />
	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:75)<br />
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br />
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:83)<br />
Caused by: java.lang.IllegalArgumentException: &#039;sessionFactory&#039; or &#039;hibernateTemplate&#039; is required<br />
	at org.springframework.orm.hibernate3.support.HibernateDaoSupport.checkDaoConfig(HibernateDaoSupport.java:115)<br />
	at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)<br />
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1175)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhavin Kamani</title>
		<link>http://blog.springsource.org/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/comment-page-1/#comment-26491</link>
		<dc:creator>Bhavin Kamani</dc:creator>
		<pubDate>Sun, 10 Jun 2007 10:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/#comment-26491</guid>
		<description>Guess my cofig xml file does not appear in my blog. Reposting it with CDATA tag hopefully it shd work.




	

	
	


		
	
--&gt;

	
		
		
			
				
				
				
			
		
		
			
		
	

	
		
		
		
		
	

	
		
		
	

	


]]&gt;</description>
		<content:encoded><![CDATA[<p>Guess my cofig xml file does not appear in my blog. Reposting it with CDATA tag hopefully it shd work.</p>
<p>&#8211;&gt;</p>
<p>]]&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

