报错信息
Caused by: 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
org.springframework.core.
………………………………
解决
项目文件resources->mapper下没写好又不打算写了的xxxMapper.xml文件空的又没删,删除之后报错解决。