开发者社区> 问答> 正文

java项目还是跑不起来?不过报错有点变化,求大神帮忙?报错

2017-06-04 15:09:12 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[WARN] org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1479)-Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crmTotalUserMapper' defined in file [F:\gs\evchar-operator-crm-backend\target\operator-crm\WEB-INF\classes\cn\evchar\operator\crm\total\po\dao\CrmTotalUserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-model.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\gs\evchar-operator-crm-backend\target\operator-crm\WEB-INF\classes\cn\evchar\operator\crm\auth\po\dao\CrmAdminMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.evchar.operator.crm.auth.po.request.GetAdminUserReq'.  Cause: java.lang.ClassNotFoundException: Cannot find class: cn.evchar.operator.crm.auth.po.request.GetAdminUserReq; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-model.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [F:\gs\evchar-operator-crm-backend\target\operator-crm\WEB-INF\classes\cn\evchar\operator\crm\auth\po\dao\CrmAdminMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.evchar.operator.crm.auth.po.request.GetAdminUserReq'.  Cause: java.lang.ClassNotFoundException: Cannot find class: cn.evchar.operator.crm.auth.po.request.GetAdminUserReq

展开
收起
爱吃鱼的程序员 2020-06-08 14:01:46 684 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    Cannotfindclass:cn.evchar.operator.crm.auth.po.request.GetAdminUserReq。

    你项目下面缺这个类或者这个类所在的jar包,可以直接在Eclipse里面ctrl+shift+T搜这个类,或者IDEA里面ctrl+n搜。

    2020-06-08 14:02:06
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载