记录一下该报错信息,最后找到问题被自己给蠢到了。。。 以下是详细报错信息: rootcause org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sqlSessionFactory'definedinfile[D:\ideaProjects\waterlevel\target\aqfh\WEB-INF\classes\spring\spring-dao.xml]:Invocationofinitmethodfailed;nestedexceptionisorg.springfra...