Cannot resolve method ‘setAsc(boolean)’
无法处理setAsc(boolean)方法。
我考虑是直接换版本,原先版本号:
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3.2</version>
</dependency>
后面使用如下版本,就没有报错了。
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.1.2</version>
</dependency>
博客探讨了在从3.4.3.2版本升级到3.1.2版本的Mybatis-Plus时遇到的setAsc方法调用问题,并提供了版本迁移解决方案。
1万+

被折叠的 条评论
为什么被折叠?



