admin管理员组文章数量:1293530
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).
springboot启动错误,多半是导入了MySQL的jar包但是数据库的url没有配置
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/test?serverTimezone=Asia/Shanghai&allowMultiQueries=true
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.username=root
#spring.datasource.password=MySQL80
在配置文件中配置好连接数据库的语句即可成功运行
本文标签: DataBaseEmbeddedPUTDerbyHSQL
版权声明:本文标题:Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/biancheng/1738334263a2076617.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论