武小新

武小新

暂无个人简介
知识星球
Java后端
2026
东南大学

该用户非会员

会员专享项目教程/ 答疑等服务

#码神挑战 通关!!! 真是烧脑 坐在工位只做这个了 hhh

#提问# 求助!!!在用户中心项目13节——代码生成器的使用中,测试UserService时出现报错,百度也没找到好的解决措施。 Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'baseMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [E:\07_星球项目\user-center\target\classes\com\xiaoxin\usercenter\mapper\UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is java.lang.BootstrapMethodError: java.lang.NoSuchMethodError: org.apache.ibatis.session.Configuration.setArgNameBasedConstructorAutoMapping(Z)V 和视频教程的差别就是数据库版本不同(mysql8.0)、IDEA是23版本

#自我介绍# Java 211本,985硕,目前研一,自动化专业,CV研究方向,有过Django框架开发全栈的经历,目前刚学完JAVA基础。鉴于老板的情况和师兄们的毕业去向,果断准备转码学JAVA。(期望毕业能有一份好工作)。 目前,本人有点迷茫,不知道是继续看基础视频学数据库和JAVA开发框架呢,还是直接上手做项目?说实话看基础视频真的有点儿枯燥......我的学历应该还跟的上,现在就是要提升自己的代码能力和项目能力,希望得到过来人的经验分享,求带![哇]

下载 APP