报错信息:
Bean named 'ddlApplicationRunner' is expected to be of type 'org.springframework.boot.Runner'
but was actually of type 'org.springframework.beans.factory.support.NullBean'
解决方法:
Mybatis-Plus依赖改为
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>3.5.5</version>
</dependency>