org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'treatmentPatternDAOTarget': Injection of resources failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private org.springframework.orm.hibernate3.HibernateTempla te com.gs.core.services.dao.hibernate.TreatmentPatter nHibernateDAO.hibernateTemplate; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No unique bean of type [org.springframework.orm.hibernate3.HibernateTempla te] is defined: expected single bean but found 0
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private org.springframework.orm.hibernate3.HibernateTempla te com.gs.core.services.dao.hibernate.TreatmentPatter nHibernateDAO.hibernateTemplate; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No unique bean of type [org.springframework.orm.hibernate3.HibernateTempla te] is defined: expected single bean but found 0
Caused by: org.springframework.beans.factory.NoSuchBeanDefini tionException: No unique bean of type [org.springframework.orm.hibernate3.HibernateTempla te] is defined: expected single bean but found 0
at org.springframework.beans.factory.BeanFactoryUtils .beanOfTypeIncludingAncestors(BeanFactoryUtils.jav a:303)
at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor.getBeanOfType(Auto wiredAnnotationBeanPostProcessor.java:178)
at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor$AutowiredMember.au towireMember(AutowiredAnnotationBeanPostProcessor. java:222)
at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor$AutowiringMetadata .autowireMembers(AutowiredAnnotationBeanPostProces sor.java:196)
at org.springframework.beans.factory.annotation.Autow iredAnnotationBeanPostProcessor.postProcessAfterIn stantiation(AutowiredAnnotationBeanPostProcessor.j ava:129)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:412)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 51)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:156)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:352)
at org.springframework.test.AbstractSingleSpringConte xtTests.createApplicationContext(AbstractSingleSpr ingContextTests.java:199)
at org.springframework.test.AbstractSingleSpringConte xtTests.loadContextLocations(AbstractSingleSpringC ontextTests.java:179)
at org.springframework.test.AbstractSingleSpringConte xtTests.loadContext(AbstractSingleSpringContextTes ts.java:158)
at org.springframework.test.AbstractSpringContextTest s.getContext(AbstractSpringContextTests.java:105)
at org.springframework.test.AbstractSingleSpringConte xtTests.setUp(AbstractSingleSpringContextTests.jav a:87)
at junit.framework.TestCase.runBare(TestCase.java:125 )
at org.springframework.test.ConditionalTestCase.runBa re(ConditionalTestCase.java:69)
at junit.framework.TestResult$1.protect(TestResult.ja va:106)
at junit.framework.TestResult.runProtected(TestResult .java:124)
at junit.framework.TestResult.run(TestResult.java:109 )
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:2 08)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.main(RemoteTestRunner.java:196)