Intelij h2配置错误写入格式1小于支持的格式2,spring boot应用程序

Toh*_*ari 19 intellij-idea h2

H2尝试在 Intelij 中通过 URL连接数据源时,出现以下错误:

The write format 1 is smaller than the supported format 2
Run Code Online (Sandbox Code Playgroud)

Toh*_*ari 12

切换到正确的版本解决了我的问题。

要在 Intelij 中修复此问题,H2应按以下配置更改驱动程序版本:在 Intelij 中,单击“数据源配置”,然后在“驱动程序”选项卡中选择 H2 数据库。 在此输入图像描述