问题
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zjp.mapper.UserMapper.selectAll
application.yml
mybatis-plus:
mapper-locations:
- com.zjp.mapper/*.xml
启动类
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;