Oi pessoal
Estou ultilizando o Vraptor e o maven e tentando inserir o spring. Criei uma SessionCreator e uma SessionFactoryCreator e tambem tenho o application.xml do spring.
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘produtoController’ defined in file [C:\Users\Gel\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\testemaven5\WEB-INF\classes\br\com\caelum\controller\ProdutoController.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [br.com.caelum.dao.ProdutoDao]: : Error creating bean with name ‘produtoDao’ defined in file [C:\Users\Gel\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘produtoDao’ defined in file [C:\Users\Gel\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\testemaven5\WEB-INF\classes\br\com\caelum\dao\ProdutoDao.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.hibernate.Session]: : Error creating bean with name ‘br.com.caelum.util.SessionCreator’: FactoryBean threw exception on object creation; nested exception is
Alguém pode me ajudar???