Invocation of init method failed; nested exception is org.springframework.core.NestedIOExceptionsqlSessionFactory这个类在mybatis.xml文件中创建bean的时候失败了后来发现StudentDao.xml中全限定名称的路径拷贝错了我写的是:'com/lianxi/dao/StudentDao’正确的是:'com.lianxi.dao.StudentDao’这么粗心大意,在心里默默