求大神帮忙看下是什么问题?

aused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\xiangmu workspace\CGAuctionConsole\src\main\resources\config\spring\spring-commons.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: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class . Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com. artrade.auction.console.auction.pojo.Category'. Cause: java.lang.ClassNotFoundException: Cannot find class: com. artrade.auction.console.auction.pojo.Category

2个回答

SessionFaction创建失败,框架整合jar不完整,或者是配置文件没配好。

楼上说的对
ClassNotFoundException:
必要的包没导进来,需要的类使用时找不到,class not found
你检查一下自己的配置文件,相关代码

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!