H2数据库登录屏幕在我的spring应用程序中不工作

H2数据库登录屏幕在我的spring应用程序中不工作,spring,hibernate,h2,Spring,Hibernate,H2,我在应用程序中使用h2dabase作为内存数据库。 我在pom.xml文件中添加了以下依赖项 com.h2数据库 氢 为了重现错误,我下载了一个新的项目,其中包含spring boot starter web和h2模块。使用您的设置时,URL无法访问,就像您的屏幕截图所示 当我添加时,URL确实变得可访问 spring.h2.console.path=/h2 console到application.properties为了重现错误,我下载了一个带有spring启动程序web和h2模块的新项目

我在应用程序中使用h2dabase作为内存数据库。 我在pom.xml文件中添加了以下依赖项


com.h2数据库
氢

为了重现错误,我下载了一个新的项目,其中包含
spring boot starter web
h2
模块。使用您的设置时,URL无法访问,就像您的屏幕截图所示

当我添加时,URL确实变得可访问
spring.h2.console.path=/h2 console
application.properties
为了重现错误,我下载了一个带有
spring启动程序web
h2
模块的新项目。使用您的设置时,URL无法访问,就像您的屏幕截图所示

当我添加时,URL确实变得可访问
spring.h2.console.path=/h2 console
application.properties

您的
application.properties
文件没有属性
spring.h2.console.path=/h2 console
。我仍然添加了相同的问题。您的
application.properties
文件没有属性
spring.h2.console.path=/h2 console
。我仍然添加了相同的问题。