This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Oct 24 19:57:23 CST 2023 There was an unexpected error (type=Not Found, status=404).
建立好数据库之后,利用Mybatis-plus搭好框架之后做了一下测试,对某表A的所有数据进行查询。结果出错。
后发现是由于启动类和controller、entity等包不在同层,因此顺序调整如下:
得到正确查询的结果如下: