logimp报错日志直接看报错的最后一句。
另外bug:namespace=“这里面应该用…来分隔,不应该用/”,所以这里不应该复制,键盘自己敲
Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is ‘com/heyu/dao/StudentDao.xml’. Cause: org.apache.ibatis.builder.BuilderException: Wrong namespace. Expected ‘com.heyu.dao.StudentDao’ but found ‘com/heyu/dao/StudentDao.java’.