想问问为什么会报Servlet.service() for servlet 这个错误

想问问为什么会报Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: error: can not execute. because can not find cache of TableInfo for entity!] with root cause这个错误
这个是报错的截图

img

img


这个是pom.xml文件

img


这个是service文件

img


这个是controller文件

img


这个是mybatis配置文件

img


这个是user文件

img


我在网上搜可以用高版本的mybatis-plus,但是我在pom.xml文件里把mybatis-plus改成高版本总是显示超时,显示Unresolved dependency: 'com.baomidou:mybatis-plus-boot-starter:jar

建议不要截图,而是直接贴出代码块,比如:

<project>
    ...
</project>

为什么,因为异常报错有个特点,就是行数很多,而且有用的信息通常靠近最后面。这会使得你的截图基本上没有包含任何价值。