to configure a DataSource: ‘url‘ attribute is not specified and no

to configure a DataSource: ‘url‘ attribute is not specified and no,第1张

Description:

Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

Action:

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 (the profiles me are currently active).

应该不会有我这种傻逼把datasource 写在server 底下调了半天没调出来吧。。

server:
#  port: 8081
  port: 8082

  datasource:

要放这

spring:
  datasource:

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/743308.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-29
下一篇 2022-04-29

发表评论

登录后才能评论

评论列表(0条)

保存