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
《dependency>
《groupId>com.github.pagehelper《/groupId>
《artifactId>pagehelper《/artifactId>
《version>4.1.0《/version>
《/dependency>
Cannot find class: com.github.pagehelper.PageHelper
少jar包的了,需要引用pagehelper.jar.maven 的话需要配置
com.github.pagehelper
pagehelper
4.1.0
我把我觉得你们想看的都贴出来,大神可以看看,帮我解决
你解决掉了没有啊,我也遇到这样的问题:Cannot find class: com.github.pagehelper.PageHelper!!!!
详情请看:https://blog.csdn.net/qq_44778023/article/details/109803521