Cannot resolve reference to bean 'sessionFactory' problem

not long ago i changed my a applicationContext.xml file and added some dependency to a bean

suddenly i get this error on start up

Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject

in my applicationContext.xml i have few imports

i searched google on it and found many posts talking about "autowire" etc,
this did not solve my problem

to solve the issue i took the "problematic" bean and placed it inside one of the include files