Shirleydan2017 2019-03-28 17:15 采纳率: 18.2%
浏览 722
已结题

ssm框架运行时spring-mybatis配置文件报bean的错

28-Mar-2019 17:01:41.707 淇℃伅 [RMI TCP Connection(2)-127.0.0.1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'dataSourceBack' of type [class org.apache.commons.dbcp.BasicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
28-Mar-2019 17:01:42.211 璀﹀憡 [RMI TCP Connection(2)-127.0.0.1] org.springframework.beans.factory.support.DefaultListableBeanFactory.getTypeForFactoryBean Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tbWordbookMapper' defined in file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbWordbookMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser
28-Mar-2019 17:01:42.304 璀﹀憡 [RMI TCP Connection(2)-127.0.0.1] org.springframework.beans.factory.support.DefaultListableBeanFactory.getTypeForFactoryBean Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tbUploadFileInfoMapper' defined in file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbUploadFileInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser
28-Mar-2019 17:01:42.379 璀﹀憡 [RMI TCP Connection(2)-127.0.0.1] org.springframework.beans.factory.support.DefaultListableBeanFactory.getTypeForFactoryBean Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tbUploadFileInfoMapper' defined in file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbUploadFileInfoMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser
28-Mar-2019 17:01:42.546 璀﹀憡 [RMI TCP Connection(2)-127.0.0.1] org.springframework.beans.factory.support.DefaultListableBeanFactory.getTypeForFactoryBean Bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tbWordbookMapper' defined in file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbWordbookMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ZHIZHEN\springtask\springtask\out\artifacts\spring_task_war_exploded\WEB-INF\classes\com\zznode\qoe\task\mapper\TbBssUserMapper.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 'com.zznode.qoe.task.entity.TbBssUser '. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zznode.qoe.task.entity.TbBssUser


  • 写回答

4条回答 默认 最新

  • L星火燎原 2019-03-28 17:23
    关注

    建议,错误日志自己整理一下,这一大坨过来,看着人都眼花缭乱。。。。。。截图都比这个好一点。。。

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?