Plese help me ‘transactionManager’ & ‘sessionFactory’

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’ defined in ServletContext resource [/WEB-INF/sphbSix-servlet.xml]: Invalid property ‘sessionFactory’ of bean class [org.springframework.orm.jpa.JpaTransactionManager]: Bean property ‘sessionFactory’ is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

This is not a forum for Spring questions, but only for Hibernate questions.