org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\taotao-manager\taotao-manager-service\target\classes\spring\applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis/SqlMapConfig.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.github.pagehelper.PageHelper '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageHelper
6条回答 默认 最新
lihongbiao0610 2017-10-13 05:41关注《dependency>
《groupId>com.github.pagehelper《/groupId>
《artifactId>pagehelper《/artifactId>
《version>4.1.0《/version>
《/dependency>本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报