mybatisplus从2.1.6升级到3.2.0,启动后报Invalid bound statement (not found),框架自带的方法都无法调用,求各位大佬给分析分析原因,谢谢
maven:
<!--mybatis -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.2</version>
</dependency>
<!--mybatis plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatisplus-spring-boot-starter</artifactId>
<version>1.0.5</version>
</dependency>
BaseDao.java
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
public interface BaseDao<T> extends BaseMapper<T> {
}
CoreService.java
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
public interface CoreService<T> extends IService<T> {
T selectOne(QueryWrapper wrapper);
T selectById(String id);
List<T> selectList(QueryWrapper wrapper);
boolean insert(T t);
IPage<T> selectPage(Page page, QueryWrapper wrapper);
boolean deleteById(String id);
boolean deleteBatchIds(List<String> ids);
long selectCount(QueryWrapper wrapper);
boolean delete(QueryWrapper wrapper);
boolean insertBatch(List<T> list);
boolean in