一、环境
JDK:17
SpringBoot:3.3.5
Mybatis-Plus:3.4.2
二、报错信息
Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
三、解决方式(由图一改为图二格式)